Quantcast
Channel: All Power Query posts
Viewing all 123299 articles
Browse latest View live

Re: Get Data from 2 Quickbooks Online Companies in same PBIX file concurrently

$
0
0

Hi ,

 

Based on my test, we are not able to connect to different QuickBooks companies within the same account in the same .pbix file via buil-in Quickbooks online data source.

 

One possible way is to create a ODBC file connect to Quickbooks second company and get data use ODBC in Power BI desktop. The ODBC driver is available: ODBC Support for QuickBooks Desktop Enterprise.

 

Best Regards,
Qiuyun Yu


Re: SharePoint Power BI Web part

$
0
0

 

Please look into "known issues and limitation section" of the article which describes how to resolve "sign in" related issue for SharePoint and Power BI web part.

Link: https://powerbi.microsoft.com/en-us/documentation/powerbi-service-embed-report-spo/

It describes "First release for everyone" must be selected to enable Single Sign On (SSO) which avoids the problem.

 

 

While enabling the Power BI web part of Sharepoint for other project we faced the problem as mentioned above.

Enabling "first release for everyone" solved it. 

This scenario also contradicts the statement " the user is select for First Release is able to use web part", which is a first release for selected user option.

So which one is the correct option?  Is it released to everyone as asked by ?

Thanks!

Data refresh error 500 with Dynamics 365 Online for Sales

$
0
0

Hi everyone,

 

I am quite new here and having trouble since 3rd June with the automatic everyday refresh with Dynamics 365 Online for Sales.

Everything was working great until this date...

 

Here is the error message that I get :

 

"Un problème s'est produit
Une erreur s'est produite pendant le traitement des données du jeu de données.
Réessayez plus tard ou contactez le support. Si vous contactez le support, fournissez ces informations.
Type de source de donnéesOData
Traitement de l'erreurOData: Request failed: The remote server returned an error: (500) Internal Server Error. (Invalid XML.)
URI du clusterWABI-NORTH-EUROPE-redirect.analysis.windows.net
ID d'activité2780a9d7-8348-87f1-53a7-14cfd74197d9
ID de demande9909c74d-1fa1-d07d-466c-22bb2577a99d
Heure2017-06-07 07:01:50Z"
 
I try to re-connect to Dynamics 365 Online for Sales (I choosed OAuth2, a window opens, I choose my Microsoft account and that's it...) It says that connexion is OK but when I want to manually refresh, same error...
 
Can anyone help me ?
Do you need other info ?
 
Thanks
Fred

Re: Do I need a gateway?

$
0
0

Hi ,

 

's explanation is good. Just want to add additional information. Smiley Happy

 

1. If the Excel get data from a on-premise data source, eg: SQL Server database. Though the Excel stored in SharePoint online, after import data into Power BI, you need also to use gateway. OneDrive Refresh is turned ON by default. You can also set schedule refresh based on your needs. See: Refresh a dataset created from an Excel workbook on OneDrive, or SharePoint Online.

 

2. As we are not aware of your internal tool, you can take a look at those two articles, you will know if you need gateway in your scenario:

On-premises data gateway

Power BI Gateway - Personal

 

3. As long as the Excel in local drive, gateway is required.

 

Best Regards,
Qiuyun Yu

DocumentDB Parameters

$
0
0

Hey,

 

I'm currently having a small problem with a SQL query i'm writing on an Azure DocumentDB in Power BI

So i have this simple query:

[Query = "SELECT c.id AS Leverancier_ID, c.leverancier_naam AS Leverancier FROM c WHERE c.type = ""Leverancier"" AND c.project_id = Project"]

 

now the part c.project_id refers to a Power BI parameter called Project however when attempting to execute the query as is, DataFormat.Error is returned.

 

Paramater is marked as text

If i type static 

[Query = "SELECT c.id AS Leverancier_ID, c.leverancier_naam AS Leverancier FROM c WHERE c.type = ""Leverancier"" AND c.project_id = ""Project B"""]

this does return results but is not the intended behaviour.

 

Kind regards

 

Re: Office 365 Adoption Content Pack: ODB - files shared...

$
0
0

,

Glad the hear the issue is solved. You can accept my reply as solution, that way, other community members could easily find the answer when they get same issue.

Regards,
Lydia

Re: desktop file save in power bi

$
0
0

,

I test the scenario as yours, everything works well. After uploading the PBIX file to OneDrive For Business and connect to the PBIX file in Power BI Service, to schedule refresh for your dataset, you would need to enter the same credential as that you use in Power BI Desktop to connect to SharePoint Folder, you can review the screenshots in my environment.
1.PNG2.PNG


Regards,
Lydia Zhang

Re: Missing records from OMS Log Analytics

$
0
0

I am pusshin data via Log Analytics. We found that broblem should be on Azure level, since logs we are pushing are not created at once, but records are entered for hours after logs are created. Therefore, looks like PoweBI gets only records that are entered when logs are created and ignore all data that comes later.

 

We are waiting for Azure team to slove the issue, and after that we can test the system again.


Re: powerbi gateway with no active directory account

$
0
0

At least the server got repared !!


Under the gateway, I added an Analysis Service data source

This part is ok. I can reach my tabular cube, with a user who has server administrator permissions (MYSERVER\ADMINUSER)


I am connected to office 365 and powerBI with a 365 admin user: admin@my365.fr

With the data source added under the gateway, I crated a user mapping: admin@my365 <-> MYSERVER\ADMINUSER.


When I try to get datas, I select Analysis Services, I find my gateway and select it, and I get this error message:

Texte de l'erreur : L'erreur système suivante s'est produite :  Aucun serveur d’accès n’est actuellement disponible pour traiter la demande d’ouverture de session.
URI du cluster : https://wabi-north-europe-redirect.analysis.windows.net

The customer has no Active directory and won't get it.

Is it possible to find a way to make it work ?

Thank you for your help !

Julien

Re: Problem with Personal Gateway from June 1st

$
0
0

Yes. The problem is solved. Was only a fail on June 1st...

Connecting Power BI to Dynamics 2016 on-premise with IFD

$
0
0

Hi everyone

 

We have been using Power BI with on-premise Dynamics CRM 2016 using OData connection and it worked fine.  However, we have now reconfigured our Dyanmics server so it now uses claims-based authentication and an Internet Facing Deployment (IFD) is setup.  Our users now login to Dynamics via ADFS on Server 2016 and can access the site both inernally and externally.

 

Since this change we cannot get Power BI Desktop to connect to our CRM server.  I have done the following:

 

Enabled oauth on our Dynamics server

Registered the Power BI Desktop OAuth 2.0 client with ADFS

(Steps from https://technet.microsoft.com/en-us/library/dn708055.aspx)

 

When we try to add the odata connection to Dynamics CRM using Anonymous/Windows authentication I get an error saying "We couldn't authenticate with the credentials provided.  Please try again."

 

If I try using Organisational Account I get "The WWW-Authenticate header doesn't contain a valid authorization URI.  Header value: 'Negotiate,NTLM'.

 

Can anyone tell me any additional steps I need to take to get this to work as I'm having trouble finding any helpful solutions online for this?

 

Thanks for your help in advance.

 

How to import already created PBIX File to Power BI Embedded in Azure

$
0
0

Hello,

 

I'm using free trial version of Azure and have been creating BI Reports by using Power BI Desktop. For now, I want to import already PBIX files to Power BI Embedded in Azure Cloud. In advantages of this progress, I can share the link including reports as Power BI style and allowed to share it with my colleagues to see it online.

 

I've created a workspace but did not understand how to import the already done PBIX files. Is this possible?

Could you help me?

Thanks in advance.

 

Joining and Syncing disparate Excel and Oracle in Power BI

$
0
0

Joining and Syncing disparate Excel and Oracle in Power BI

 

Using this aproach we can successfully edit and sync Excel data within Power BI

 

https://powerbi.microsoft.com/en-us/documentation/powerbi-service-excel-workbook-files/

 

https://powerbi.microsoft.com/en-us/documentation/powerbi-refresh-data/

 

Where we have one source of data be it Oracle, Excel or SQL we can successfully sync up our datasets within PowerBI. Where we have mixed datasets for example Oracle and Excel we are struggling to find an effective working method to sync the two data sources within Power BI. 

 

The basic requirement is to have two datasets, one oracle table and an excel sheet with a join between the two presented and synced up into one Power BI report. 

 

Our current working options are to pull everything down to either Oracle or Excel, but I cannot seem to find a method of referencing and syncing the source data as separate entities in Oracle and Excel. 

Re: desktop file save in power bi

$
0
0

Thank you Zhang, screen shots are helpful. So far everthing i did looks good... but the link is giving me the problem. Once i get the correct link i am good to go, i suppose. I would not need a gateway too, is it?

 

Why did you choose to sign in with  'OAuth2' credentials... whats wrong with 'windows' sign in?

 

Thanks in advance 

 

Pranitha

 

 

Problem Using Power BI with Dynamics CRM Web API

$
0
0

Hello,

My question is right at the bridge between Power BI and Dynamics CRM. I thought I'd post here, but let me know if the CRM communities are better suited for this question. 

 

I've been very excited to start using the Dynamics CRM Web API with Power BI. My goal is to be able to define an Advanced Find (UserQuery) and use the Web API to pull that Advanced Find straight into Power BI, bypassing the 100K record limit of advanced finds and streamlining automated refreshes, etc. The function I wrote is successfully pulling all the records and returning it as a 1-column table of records, but when I try to expand those records into columns, not all the fields defined in the Advanced Find show up. At first I thought maybe it was a cache issue, or perhaps that Power BI was hitting some sort of size limitation, so I even tried defining each of the fields I was looking for manually in the M, but they just returned null.

Here's my M code: 

(OrgUrl as text, QueryName as text, LogicalCollectionName as text, UserView as logical) =>
let 

	GetQueryByName =
		(OrgUrl as text, QueryName as text, UserView as logical) => 
			let
				QueryType = if UserView then "user" else "saved"
				,return = OData.Feed(
						OrgUrl & "/api/data/v8.0/" & QueryType & "queries?$select="& QueryType & "queryid&$filter=name eq '" & QueryName & "'"
					)[userqueryid]{0}
			in
				return,
	QueryAll = 
		(nextURL, prev) => 
			let
				prevList = if prev <> null then prev else {},
				responseData = Json.Document(Web.Contents(nextURL, [Headers=[Prefer="odata.include-annotations=""OData.Community.Display.V1.FormattedValue"""]])),
				return = if responseData[#"@odata.nextLink"]? <> null then @QueryAll(responseData[#"@odata.nextLink"], prevList & responseData[value]) else responseData[value] & prevList
			in return,
	NamedQuery = OrgUrl & "/api/data/v8.0/" & LogicalCollectionName & "?userQuery=" & GetQueryByName(OrgUrl, QueryName, UserView),
	return = Table.FromList(QueryAll(NamedQuery, null), Splitter.SplitByNothing(), null, null, ExtraValues.Error) 
in return

And the FetchXML:

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"><entity name="opportunity"><attribute name="elcn_academicprogramofinterestid" /><attribute name="createdon" /><attribute name="opportunityid" /><attribute name="parentcontactid" /><order attribute="elcn_academicprogramofinterestid" descending="true" /><link-entity name="contact" from="contactid" to="parentcontactid" alias="a_4e29b74a612a43f0969e0b8e08ce7e48"><attribute name="regent_firstcontactdate" /><attribute name="createdon" /><attribute name="regent_contactstatus" /><attribute name="datatel_prospectsourceid" /><attribute name="regent_leadsourcedetails" /><attribute name="regent_leadsource" /><filter type="and"><condition attribute="createdon" operator="this-fiscal-year" /><condition attribute="customertypecode" operator="eq" value="200000" /><condition attribute="statecode" operator="eq" value="0" /></filter></link-entity></entity></fetch>

More specifically, regent_leadsource and regent_leadsourcedetails aren't showing up as columns. 

 

Any ideas?

Many thanks,

Daniel Hines


Need help with Authentication issues between MS Power BI and our on-premises data gateway server

$
0
0

I am in the process of setting up MS Power BI for my company.  We installed the On-premises Date Gateway on a Microsoft server.  Since all of the data files will be coming from this server and going up to Power BI, it made the most sense to install the gateway on this server.  Plus this server remains on 24/7.

 

If you log into the Diver server you can see that the Gateway is running properly.

Capturea.JPG

 

However, when I try to set up the data sets on Power BI, I receive:  Error: Unable to Connect. Details: "Invalid connection credentials".   At first we suspected problems with authentication, bit I confirmed with our network security that I’m using my correct ID and windows password and that I have the admin access to this server. 

 

Here is the full error I’m getting when I try to set up my data sets:

 

Unable to connect: We encountered an error while trying to connect to D:\diverroot\DI_NuhoArw\Temp\PBI. Details: "Invalid connection credentials."Hide details

Activity ID:    8b3816d7-9dc0-42ec-91c3-88bc04c6443b

Request ID:     73554282-392e-6e3d-750e-0bea9276bf59

Cluster URI:    https://wabi-us-north-central-redirect.analysis.windows.net

Status code:    400

Error Code:     DM_GWPipeline_Gateway_InvalidConnectionCredentials

Time: Mon May 01 2017 15:18:10 GMT-0400 (Eastern Standard Time)

Version:   13.0.1700.2008

Underlying error code:     -2147467259

Underlying error message:  The credentials provided for the File source are invalid. (Source at d:\diverroot\di_nuhoarw\temp\pbi.)

 

DM_ErrorDetailNameCode_UnderlyingHResult:   -2147467259

Microsoft.Data.Mashup.CredentialError.DataSourceKind:  File

Microsoft.Data.Mashup.CredentialError.DataSourcePath:     D:\diverroot\DI_NuhoArw\Temp\PBI

Microsoft.Data.Mashup.CredentialError.Reason:     AccessUnauthorized

Microsoft.Data.Mashup.MashupSecurityException.DataSources:     [{"kind":"File","path":"D:\\diverroot\\DI_NuhoArw\\Temp\\PBI"}]

Microsoft.Data.Mashup.MashupSecurityException.Reason:     AccessUnauthorized

Troubleshoot connection problems

 

I've been working with our internal support and have been scouring the tech support links, but everything that we have tried results in the same error or something similar.

 

We also tried uploading the source files to OneDrive and tried to set up the Data Source to look there, but it times out.

 

Can someone help withi this problem?  Also, I am not a PowerBI Pro subscriber (yet) so I'm not able to create a support ticket.

 

 

Duplicar aplicativos para usuários com base de dados diferentes

$
0
0

Preciso ter um mesmo modelo de relatório e aplicativo com vários relatórios, mas cada um deve ser alimentado com uma base de dados local, teria como fazer desta forma?

 

Ex: 

 Tenho 3 clientes X, Y e Z que possuem lojas do mesmo ramo, preciso criar um aplicativo base, que irei compartilhar com os 3 clientes, mas cada aplicativo deve utilizar a base de dados local do cliente através de um gateway configurado na máquina cliente, ou seja, cada um possui um sistema local com sua base de dados com seus lançamentos, e cada um deve verificar seus dados apenas.

 

Queria fazer desta forma, pois tenho vários clientes, e é um trabalho muito grande refazer cada aplicativo com a base de cada cliente.

 

Salesforce Reports Dataset Refresh - Error 400

$
0
0

Hey Guys, 

 

I've created a report that pulls in data from an existing SFDC report.  In the desktop version of Power BI, I'm able to connect and refresh with no issues.  I'm also able to publish the report without any issues.  It's exactly what I need.

 

The issue comes in when I try to schedule a refresh on the deployed dataset.  I have found that the credentials need to be re-entered upon publishing my dataset.  When I do this, I am able to see that the OAUTH is established in SFDC for my Power BI Refresh successfully; however, I receive this error and am not able to save or move forward with refreshing. 

 

error.PNGoauth.PNG

The only way I've been successful at refreshing the dataset is to refresh it using Power BI Desktop and re-publishing the dataset.

 

One thing that I noticed is that I am able to create a new report and refresh its dataset directly from Power BI Online; however, I run into issues using a published dataset.  I need to use my published dataset, which simply connects to one report from SFDC.

 

Here is the dataset datasource settings.

 

dataset.PNG

 

I'm at a loss, and any help would be very much appreciated.  If more details would be helpful, just ask.

Thanks guys!

 

 

Re: Need help with Authentication issues between MS Power BI and our on-premises data gateway server

$
0
0

Log onto the Server that is hosting the Power BI Gateway and attempt to access "D:\diverroot\DI_NuhoArw\Temp\PBI".  Do you have any issues?

 

Looks to me like the credentials you have supplied aren't correct to connect to that folder and/or drive.

Re: Joining and Syncing disparate Excel and Oracle in Power BI

$
0
0

I'm not sure I 100% understand the problem, however what i'm imaging you need to do is create 2 tables under Edit Queries, each connected to your separate data sources, in your case 1 for Oracle and 1 for Excel.

 

Within "Edit Queries" you will have the option to append or merge your data sources should you wish to combine them into a single table. If not, once you close and apply you will be able to set up any table relationships you need between the Oracle and Excel table.

 

If you need multiple tables from either source, the same applies.

Viewing all 123299 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>