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

Problem with XML Import in PowerBi

$
0
0

Dear PowerBi Community,

 

I have a xml file which all my data unfortunately. I don't have another format and I am used to use xml.

 

It seems like a Problem to import the data. If i import the data with one single line no error approves.

But If I take the second line (have the same struktur, only other values) he fails with the error:

 

Xml processing failed. Either the input is invalid or it isn't supported.

(Internal error: There are multiple root elements. Line 2, position 2.)

 

So my first guess was that my xml file is corrupt. So I tried to Import it in

Ultraedit and File Viewer Plus. Which are xml Parser and they show me correct the xml Tree and Values.

 

Ask me anytime for Questions.

 

 


Re: Power BI Service connection: change from dev to production

$
0
0

 : 

Hi Lydia.  In previous comment you wrote "In Step 2, I replace PbiServiceModelId rather than PbiServiceGroupId. . .".  I see this comment was made in Aug-2017, and I'm writing this in Feb-2019.

 

I wonder if the PBIX zip file structure/content has changed since then. 

Here is abbreviated/edited content of a current "Connections" file:

 

Initial Catalog=Some-GUID-For-Dataset-Goes-Here;
"PbiServiceModelId":Some7DigitNumber,
"PbiServiceGroupId":"Different-GUID-For-Workspace-Goes-Here",
"PbiModelDatabaseName":"Some-GUID-For-Dataset-Goes-Here"

 

It seems I have all the pieces (in red) I need to manually update this to point it do a different dataset in a different workspace (i.e. belonging to a different customer) - all EXCEPT FOR the "PbiServiceModelId".  How/Where can I get this value?

 

Even though MS is promoting and encouraging the usage of Shared Datasets, they have not provided support for this in automated deployments (i.e. PBI REST API).  Which means we're stuck - we can't deploy to all our customers unless we manually do the steps within Power BI Desktop, which isn't practical for many, many customers.

 

Can you please tell me how/where to get the "PbiServiceModelId" value?

 

Thanks,

Greg

 

Re: Connection to SAP S4HANA Analytics CDS views

$
0
0

It is possible but you have a few items to consider.

 

1.) Most CDS views exists as table valued functions in the SAP ABAP schema. They are not standard Tables or Views to that regard. A calcualtion view supports this as a data source but you have to map the Function's input parameters (if they exist) to a calculation view's input parameters.

2.) Some of the table valued functions use a the session variable SESSION_CONTEXT( 'CDS_CLIENT') which is dificult for users to set under an ODBC session using PowerBI. Therefore, you likely need to make a custom copy of each table valued function and replace that with the SESSION_CONTEXT( 'CLIENT') which is a standard varable that can be assigned to each HANA database user.

3.) You have to create and maintain the metadata (Column Lables) in the Caclcualtion View. This can take some time to setup.

4.) You have to manage the security on the HANA database but there are numerious ways to automate that.

 

--- Frankly I think it would be all around better to build a real-time data mart in a sidecar instances of HANA then to try and maintain raw CDS code within the database, wrapped with calcualtion views.

deploy power bi from Dynamics 365 FO - LCS error

$
0
0

Hi everybody, I'm trying to deploy a power bi file from Dynamics 365 FO from LCS.

when I click from Dynamics 365 FO "Deploy Power BI Files" I can do it correctly:

Captura1.PNG

 

But when I go to app.powerbi.com (with the same user) and I try to see the Actual Vs Budget, I get the following error:

Captura2.PNG

 

The error detail is:

Captura3.PNG

 

Any idea??
I have another tenant and I can deploy the report correctly, I guess I have configurated something wrong, but I can not find anything...

 

thanks and regards Smiley Happy

 

Sandra

Missing Records From SharePoint File

$
0
0

I imported an Excel file from SharePoint and it imported sucessfully with no errors. When I try to view the data in Power Query, I'm only seeing 98 records out of 330k. Any ideas to help troubleshoot as to why I'm only seeing a limited amount of records? I tried as importing as a Web connection and SharePoint folder connection and got the same results. 

Re: Row limit with google analytics direct connection

$
0
0

yes, im using the direct connector Captura.PNG

the thing is that the information i want is about 5M rows and i dont want to filter it. im currently having to segment the query 6 times and append it but its really time exhausting 

Nestedjoin with SQL server and Exchange kills both connections

$
0
0

Hi!

 

I have run into a very irriating issue that I hope someone might be able to help me with. I have two data sources, exchange online where I download some mail and one sql server table. Both works perfectly, I connect directly to Exchange through the cloud and the sql server through the Gateway. 

 

However when I try to merge the querys in Power Query I run into trouble. I do a check in the SQL-table if the current ID from the mail exist or not. Everything works perfectly in the local file. 

 

When I upload the file to the Power BI Service I cannot connect anymore to either the SQL server or Exchange. When I look under data source credentials it seems that Power BI Service think I need a gateway for the exchange connection aswell as I have nested the querys. And as you know there is no gateway for Exchange, and ofcourse I shouldnt be needing it either as Exchange is in the cloud already. I would probably describe this as a bug in the service. 

 

Now I'm stuck, does anyone have a workaround for this? I'm thinking of a workaround to download the exchange data to another sql-table and join them instead, but would like to avoid it if possible. 

Re: Cannot connect to AS400 via IBM DB2 database

$
0
0

Hi Andy,

 

I got data, but most of the fields came over as binary when I attempted to set it up in an on-premises gateway.

 

Works fine for my personal gateway, but the refreshes won't work when I am offline.  

 

Has anyone else experienced this?


Re: Nestedjoin with SQL server and Exchange kills both connections

$
0
0

For reference after some more playing around with it. It seems I can't even append the two querys together when getting one from SQL server and the other from Exchange. Very disappointing.

 

Capture.PNG

Direct Query for REST API

$
0
0

I am showing current server status (Running / Terminated) to Power BI report using API. I am able to call REST API (Server Status) using Get Data | Web and showing the status. However, when I publish the report to PBI Service and refresh (NOT schedule refresh) the report is not getting current status instead of showing old data (imported data). I research a bit and come to know that API doesn't support direct query and need to develop custom connector (ODBC) to support direct query API. Question: Anyone has built direct query rest API connector or any workaround to solve the issue? Any pointer will be helpful.

 

I look at third-party components which support direct query rest API but looking for a free or GitHub source. https://www.progress.com/tutorials/odbc/directquery-your-custom-rest-api-in-power-bi

Need help using Dynamics 365 + Sharepoint + Power BI

$
0
0

Hi Guys,

 

So, what I'm trying to achieve here is an alternative solution to Data Warehousing.

 

Please tell me if this is achievable.

 

1) So, what I'm wondering is if there's a way to export rows from a Dynamics 365 entity to an excel spreadsheet in Sharepoint OR just a sharepoint list at a scheduled interval or whenever a new record is created in my selected entities. I might require Microsoft Flow to do this?

 

2) Connect Power BI to this excel spreadsheet or Sharepoint list and create my reports, then publish it as an app to share among colleagues. If I have got scheduled refreshes set up for the excel file or the sharepoint list, everyone would see the latest stuff happening, right?

 

Regards,

Re: Do not see the ODBC option for data connection in the new PowerBI version

$
0
0

Thanks Stachu.  Working fine now

Re: Opportunity Audit History table on CRM Dynamics online 2016 Update 1

$
0
0

same question

 

any luck on this?   

 

Thanks.

Re: Snowflake DirectQuery Issue

$
0
0

Hi  ,

 

What version of Power BI Desktop do you use?

 

Please check if you have installed the latest version 2.66.5376.1681 64-bit (February 2019). 

 

If not, please update it and refresh your data source.

 

Best  Regards,

Cherry

Re: Problem with XML Import in PowerBi

$
0
0

Hi 

I connect to this xml file with Power BI Desktop

(save this xml file on my local server, then select Home->XML, select this file from my server),

it works fine on my side. 

 

Could you share with me your test xml file so i can reproduce your problem?

You could paste your content inside the xml file here or upload the file online (for example, OneDrive for bussniess), then share the link here.

 

 

Best Regards

Maggie


Re: GetData Excel Power BI stops responding

Re: Ingesting multiple gzip files

$
0
0

 ,

You can create a function in Power BI Desktop as discussed in this similar thread, then invoke this function.

Regards,
Lydia

Re: Sharepoint Permission - Error 500 - Internal Server Error

$
0
0

 ,

What version of Power BI Desktop do you use? Please update it to latest version(2.66.5376.1681) and clear cache in Power BI Desktop.

In addition, do you refresh the SharePoint data in Power BI Desktop successfully? And do you have special fields such as calculated fields in the SharePoint data source? 

Regards,
Lydia

Re: Partner Center Analytics

$
0
0

Hi

Im having same issues, cant log in, with same error.

Where do you find this Admin Agent Role ? i cant seem to find it anywhere ? 

Im looking (as my global admin account) in portal.azure.com, Azure Active Directory, Roles and administrators, 

But here i cant find any "Admin Agent" ?

 

/Martin

Re: Missing Records From SharePoint File

$
0
0

Hi  ,

 

If I understand your scenario correctly that when you get data from the excel file in SharePoint, you could only see the limit data in right page of the Navigator?

 

If that is your case, I could reproduce your scenario.

 

get data from sharepoint.PNG

 

In my case, I have more than1k rows in the excel file but now i cannot see the completed rows in the preview page.

 

Actually, if you load or edit the data in query edit, it will load all of the rows of the excel file.

 

actual rows.PNG

 

In addition, please check if you have installed the latest version of Power BI Desktop Version: 2.66.5376.1681 64-bit (February 2019).

 

If you still need help, please share some screenshots to describe your scenario better so that we could help further on it.

 

Best  Regards,

Cherry

Viewing all 124009 articles
Browse latest View live


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