Quantcast
Channel: Power Query topics
Viewing all 31534 articles
Browse latest View live

Power BI, R and oData

$
0
0

I need to have sceduled refreash online for my report. Most of it's data is gathered from Dynamics CRM with oData and few tables contain R scripts as part of query.

 

Power BI online cannot use R natively so I will need some other solution for this. Second problem arise when I try to link oData source to gateway. For some reason this isn't possible.

 

How do I refreash R script as part of power bi online?


SSAS MD / Power BI Gateway / Effective user names

$
0
0

Hi there,

 

I have been trying to set up a SSAS MD live connection but after a few hours I still dont have it working.

I have followed this:c

https://powerbi.microsoft.com/en-us/blog/how-authentication-with-analysis-services-live-connections-...

 

My situation:

 

Azure VM machine: remote connection with Admin credentials

- Has analysis services MD cube.

 --> uses CompanyNameDWH\Admin (so the domain is not just CompanyName but has DWH behind it).

 

- Has enterprise gateway installed and reports that the Cube is online and ready to be used.

--> this uses my organizational e-mail (e.g. raoul@CompanyName.com).

 

- Has Power BI desktop which has a live connection the the azure remote machine analysis service which works fine.

--> this uses raoul@CompanyName.com aswell.

 

I setup the gateway in manage gateways on app.powerbi.com and the connection is working (using CompanyNameDWH\Admin user credentials to login to the MD cube).

Now I have published a report to app.powerbi.com to share within my organization.

I open the report and I receive a:

There was a data source access error. Please contact the gateway administrator.

 

When I create a new workspace and then try to connect to the analysis service I get the the following error:

The following system error occured: the name provided is not a properly formed account name.

 

So I thought, well this must be cause of the the CompanyNameDWH and @CompanyName.com are not in the same domain so let's use the map (effective) user names function in manage gateways:

I set that up in the following way:

Replace:  raoul@CompanyName.com WITH CompanyNameDWH\Admin 

 

But that does not work.. ?

I have tried creating a local admin account with my own name as username and use that instead but the same thing happened: There was a data source access error. Please contact the gateway administrator.

  

Doesnt effective usernames work that way? I really have to make the azure machine domain-joined for this to work?

 

 

Turn Start Date & End Date columns into one column with

$
0
0

Hey everyone,

 

I have 2 columns (Start Date and End date), each one specifying a different project, that I need to combine into one column containing all dates for each project. The column should include dates in between each project, eventually I'm creating a heat map calendar based off this. So far I have this for creating a new table:

 

Table 2 = CALENDAR( Table1[Start Date], Table1[End Date])

 

which is giving me 

"A single value for column 'Start Date' in Table1 cannot be determined" (I'd need to specify an aggregation)

 

Does anyone have an idea how to move forward from here?
Thanks,

Pierre

 

 

19988792_1444086522349568_1018085413_n[1].jpg

 

 

 

New Gateway (Personal Mode) problem :(

$
0
0

WHAT HAPPENED??

 

Now Microsoft have managed to mess up the Gateway tool totally Smiley Mad

 

To combine on-prem SQL Server data with online OData (using OAuth2) I need both gateways (on-prem + personal), because on-prem doesn't support OAuth2 for OData (why is that Microsoft?).

 

Now Microsoft is killing the old Personal Gateway from July 31, 2017.

 

What does this mean for many of my clients?

 

The old personal gateway could run as a service meaning a somewhat server like setup BUT the new and improved (Personal Mode) doesn't support "run as a service". So now I need to keep the user logged on the server to be able to refresh my Power BI Online with data from an online source.

 

Microsoft, please review your Gateway solution/offer/tool and align it with the tools (Power BI Desktop and Online) it is supposed to support.

JSON data from JIRA

$
0
0

Hi Everyone!

I'm trying to modify the code from the JIRA content pack because I need to show in my dashboard the Timetracking of the issues.
My schema in JSON is like that:

 

expand	"schema,names"
startAt	0
maxResults	50
total	8201
issues	{
 0
      {
expand "operations,versionedRepr…nsitions,renderedFields" id "16605" self "http://jira.mycompany.com/rest/api/2/issue/16605" key "TZIR-1" fields issuetype Object components [] timespent 111600 timeoriginalestimate null description null project Object fixVersions [] aggregatetimespent 111600 resolution null workratio -1 summary "Bla bla bla" ...
} 1 Object {} 2 Object {} 3 Object {} 4 Object {} 5 Object {} 6 Object {} 7 Object {} 8 Object {} 9 Object {} 10 Object {}

}

 

 

The only way that I see to show the timetracking of every issue is taking the url of every issue and using it to take the field that I need . So I need to go over all issues and taking the field "self" but I don't know how to do it in Power Query.

Any help please?

Thanks.

 

DataSource.Error: SharePoint: Request failed

$
0
0

Hi,

 

I am using Power BI Desktop and trying to query data from an Excel file stored on a SharePoint Online site. 

 

Query

let
    Source = Excel.Workbook(Web.Contents("https://xxx.sharepoint.com/sites/management/Freigegebene%20Dokumente/salaries.xlsx"), null, true),
    tbl_salaries_Table = Source{[Item="tbl_salaries",Kind="Table"]}[Data],
    #"Changed Type" = Table.TransformColumnTypes(tbl_salaries_Table,{{"Name", type text}, {"Net Salary", type number}, {"Total Cost", type number}, {"Hours/Day", Int64.Type}, {"Latest Adjustment", type date}, {"Adjustment Value", Int64.Type}, {"Net Bonus", Int64.Type}, {"Total Bonus Cost", Int64.Type}, {"Bonus Type", type text}})
in
    #"Changed Type"

Error

DataSource.Error: SharePoint: Request failed: https://xxx.sharepoint.com/sites/management/Freigegebene Dokumente/salaries_xlsx/_api/contextinfo
Details:
    DataSourceKind=SharePoint
    DataSourcePath=https://xxx.sharepoint.com/sites/management/Freigegebene%20Dokumente/salaries_xlsx/_api/contextinfo
    SPRequestGuid=ef84049e-601e-4000-ef17-0555bf13666b

 

 

Any idea, what I am doing wrong here?

Thank you.

SAP BW 7.5 on HANA- Power BI connectivity issue

$
0
0

Hello,

 

We are trying to integrate data from SAP BW using Power BI SAP BW direct connector in Power BI Desktop. We are connected to domain and able to communicate with SAP BW server. When we used SAP BW server before migration/upgrade to BW 7.5 on HANA, we were able to extract data from the system and the test is successful, however, after migrating to SAP BW 7.5 on HANA, we are not able to extract fields from the Cube, even if the connection with BW system has been done. We did a test where we selected desired measures and dimensions, it starts "Loading into Data Model".

After some time, it pops up below error message:

 

DataSource.Error: SAP Business Warehouse:

Error occurred when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'

 

Can you please help me to solve this issue ?

Thanks,

 

Best regards,

 

Sara

 

Your data source cannot be refreshed because the credentials are invalid

$
0
0

I have created a report and installed personal gateway on my system. I am extracting data from SQL Server, its working fine when I refresh in Power BI Desktop version but not in Power BI Online. I am getting error in my data credentials, which is the same credentials I use on SQL Server. Do I need to update it anywhere else as well. What changes should I make.?
"Your data source cannot be refreshed because the credentials are invalid"
PFA screenshot of my error.

Activity ID:3a84f4f9-6adc-64f0-8fff-8891d069f84e
Request ID:bb69b3e7-44fa-8609-3bd5-62462fc4dc72
Status code:400
Time:Tue Jul 11 2017 16:23:50 GMT-0400 (Eastern Standard Time)
Version:13.0.1828.219
Cluster URI:https://wabi-us-north-central-redirect.analysis.windows.net


If I use the other option, other than basic authorization i.e. WindowsWithoutImpersonation, it solves the credential error problem but still doesn't refresh.
Any help is appreciated, thank in advance.


Regards,
Sahil


powerbi embedded in sharepoint 2013

$
0
0

Is there anybody who managed to embed a powerbi report (with roles and filters) in SharePoint2013 ? Everytime i tried the report is not beeing loaded.

Open Office 365 Adoption content pack in desktop (Power BI Desktop)?

$
0
0

Is there a way to open this in Desktop?

 

I can't seem to figure out how to properly connect to it as a data source.

 

Works great on the web and if I hit edit, but I would like to join some local data to it (our users's AD accounts and join them to some local data we have on organizational structures, physical locations of users, etc...)

 

Thanks!

Data Refresh

$
0
0

I'm using the DimDate calendar from Ruth at Curbal which generates my calendar for me and I've added a column to that table IsWorkingDay which says if its a Saturday or a Sunday then 0 else its a 1.

The DimDate calendar generates all dates from a given start date up to today's date.

So I can calculate the number of working days so far this month with the following

Working Days So Far This Month = TOTALMTD(SUM(DimDate[IsWorkingDay]),DATESMTD(DimDate[Date]))

 

However I needed to work out the total number of working days for the whole month  so I created a table (Working Days).

Three columns StartOfMonth, NumberofDays and MonthName.

So something like 01/01/2017,20,Jan then 01/02/2017,20,Feb then 01/03/2017,23,Mar and so on for the rest of the year.

 

I've created the relationship linking the StartOfMonth date in the Working Days table to the Date field in the DimDate table.

 

One of the measures I created on the WorkingDays table is as follows.

Working Days In Month = TOTALMTD(SUM('Working Days'[Number]),DATESMTD(DimDate[Date]))

 

ALL works well on the desktop version with no issues and I can publish and manually refresh no problems.

However when I schedule a refresh everything works apart from this measure and since I use this measure a lot in the report a lot of the visuals show (BLANK)

 

Any help would be greatly appreciated or any suggestions on an alternative way of doing working days in a month.

 

 

combine multiple xml documents which are located on sharepoint online

$
0
0

Hi,

 

is it possible to combine multiple xml-documents which are stored in a sharepoint online - folder?

Already possible with csv and excel, but I can't find a way to do the same with xml.

 

Sam

Unable to add Data Source to On-Prem Gateway in Service

$
0
0

upgraded my gateway and I am trying to add data sources in the service but after entering all info, when I click 'add' nothing happens. I have tried this for files, SQL server connections, etc...same for everything, nothing happens.

 

Gateway is installed on my desktop. Refreshes and connections to all these datasources worked fine before upgrading the gateway.

 

Tried username with and without my domain, Basic and Windows authentication, same connection as in the pbix files, etc... no clue where to look for help at this point, any ideas??

 

Thanks

 

image.png

 

 

Application with an API - connect to Power BI?

$
0
0

Hello,

 

I'm going to be really simplistic here, apologies in advance! I've previously worked with on-premise applications in my company where I've simply gone Get Data > SQL Server, chosen the relevant table(s) and it's smooth riding after that.


We've recently purchased a new SaaS solution that we wish to use in Power BI but that doesn't have an available connector. It does, however, have an open API. By that particular app having an API does it mean (-programmatically) we can hook it into Power BI? Do we need it be a specific type of API to do that? (Here's where my head hurts...!)

 

Many thanks

Azure Blob Usage Analytics

$
0
0

Hi All

 

I am trying to connect to Azure Blob storage to extract the storage metrics but for the life of me it just doesn't work. I have connected via the Azure Blob connector and am able to extract the contents of the Blob storage but I would like to pull the usage analytics data such as used space.

 

I understood that Blob storage has tables that could be queried for transaction and capacity (https://docs.microsoft.com/en-us/rest/api/storageservices/about-storage-analytics-metrics).

 

Does anyone know how to extract this data? or can point me in the right direction or an article that can help.  I've come across suggestions on extracting data from Table storage (https://blogs.endjin.com/2015/04/visualise-your-azure-table-storage-data-with-power-bi/) but I understand this to old (and doesn't work for me).

 

Any help would be much appreciated. 

 

Thanks

 

Pete


PowerBI, Multiple Data Sources via Gateways in Different Network/Domains

$
0
0

Hi,

I have 2 instances of the same application running in two different domains/networks.  I planned to install a data gateway in each network/domain, with a data source for each network/domain and then to combine the datasets from each data source (the query would return same structure) in PowerQuery and present as one set of information in PowerBI.

 

It seems that to build a report/dashboard in PowerBI desktop I need to have direct network access (TCP/IP) to the data source.  This will never work for me as there is no DMZ or intermediatte network that has access ot both networks/domains simultaneously.

 

Am I correct in beliving PowerBI can't help in this scenario?  Is there a way round this?

 

(I've collated the data using DG's and pipelines from Azure Data Factory into Azure table storage in the past but would like to avoid this overhead!)

Still got wrong data from Google Analytics

$
0
0

Hi,

 

i imported a lot of data from GA to Power BI Desktop, and some outcomes are not the same like Entrance or Pageviews. In some results there is a small difference but in other there are really big differences. Is the Problem with the limitation from Google still current? 

 

I did the Workaround from :
- Check your GA data you have imported in PBI and note down the date range you have imported (earliest and latest date)
- Go to https://ga-dev-tools.appspot.com/query-explorer/

- Set up exactly the same query and use the same dates that you have in PBI

- Hit "Run Query" and have a look at the header section of the result

 

If it says "Contains sampled data:Yes", then you know, that sampling is the root of the issue.
The only way around it is to request smaller date ranges of data, which you cannot do in PBI itself. So you will have to programmaticly do that elsewhere and use the result as a source for PBI.

 

But the header shows me: 

  • Contains sampled data:No

 

But still i don't get the right values on PBI!

This is a main reason for our company to select Power BI or an other BI Tool. Is there an easy workaround or something else? 

 

Thank You!

Issue with DataSet refresh - Microsoft.ACE.POLED.12.0

$
0
0

 

Hi,

 

I am getting the below error when I try to refresh the data set.

"Data source terrorizes Workbook: The 'Microsoft.ACE.POLED.12.0' provider is not registered on the local machine. The 64-bit version of the Access Database Engine 2010 Access Database Engine POLED provider may be required to read this type of file. To download the client software, visit the following site: HTTP://go.Microsoft.com/blink/?Linked.. The exception was raised by the IDataReader interface."

 

I did trying installing the 64 bit version of Access Database Engine , but it did not resolve the issue.

To give a bit of background , the data source is an Excel file stored in a library in sharepoint. The initial set up went fine , i.e. connecting to the excel data + report . But few days later while trying to set up the automatic refresh I noticed the issue.  

 

I did try this link , not much luck here. Any help would be much appreciated.

This is my PowerBI Desktop version : Version: 2.48.4792.721 64-bit (July, 2017)

 


Thanks,

Sidharth

Content Pack: Count of Azure licenses? E1, E3, SPO, Skype, etc...??

$
0
0

I see there are two content packs that relate to Azure but I'm a bit confused by them.

 

One is O365 Adoption preview and the other is Microsoft Azure Consumption Insights.

 

The 2nd one seems to be more about VMs, and what Azure infrastructures you are using like storage, etc....?

 

Is there a content pack that is dedicated to showing EA licenses purchased and how they are assigned, etc...?

 

 

Suggestions?

 

Thanks!

Power BI Sharepoint Data Feed

$
0
0

Currently I am getting 3 types of data in 3 different folder in Sharepoint Library of O365.

 

1. Sales

2. Management result

3. Share Information

 

This 3 type of data set is different, and I made seperate query for each of this folders to organize the data. And number of file changes periodically, so keeping this seperated is mandatory for me. Till now, I am manually feeding this to BI and publishing, which I am trying to automate by linking BI directly to the sharepoint. However, I cant find any option to segregate the folders in Sharepoint get data option. As BI takes Sharepoint Site URL and whenever I put this in BI, it automatically pulls all the file to the system. This is a problem for me as I need to point BI to specific folders.

 

Can someone help on this?

Viewing all 31534 articles
Browse latest View live


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