Can someone point me to the v3 documentation for the Power BI .NET SDK?
Thanks.
Can someone point me to the v3 documentation for the Power BI .NET SDK?
Thanks.
The AsymmetricKeyEncryptor class appears to be missing from the SDK. Updating datasource credentials relies on the usage of this class to encrypt the new credentials as shown in this link:
https://docs.microsoft.com/en-us/power-bi/developer/automation/configure-credentials?tabs=sdk3
Can someone please help with this issue?
Thanks.
Trying to configure datasource credentials at runtime and the call to PowerBIClient.Gateways.GetGateway returns Unauthorized error. Below is the snippet of code used to do this:
Dim basicCredentials As BasicCredentials = New BasicCredentials(username, password)
Dim gateway As Gateway = powerBIClient.Gateways.GetGateway(datasource.GatewayId)
Dim credentialsEncryptor = New AsymmetricKeyEncryptor(gateway.PublicKey)
Dim credentialDetails = New CredentialDetails(basicCredentials, PrivacyLevel.Private, EncryptedConnection.Encrypted, credentialsEncryptor)
Dim udsRequest As UpdateDatasourceRequest = New UpdateDatasourceRequest(credentialDetails)
powerBIClient.Gateways.UpdateDatasource(datasource.GatewayId, datasource.DatasourceId, udsRequest)
The above code was found in the link:
https://docs.microsoft.com/en-us/power-bi/developer/automation/configure-credentials?tabs=sdk3
Any help would be appreciated.
Thanks.
I want a visual to update every 10 minutes from a datasource that changes every 6 minutes.
Only PowerBI Desktop consumes from Azure SQL and REST.
PowerBI Pro (web) can scoop datasets from Azure SQL and REST endpoints via 'Apps'.
Can these apps be written in python?
Is there a generic Azure SQL web client app that I can query the private cloud DB?
Good afternoon! Please help me develop the Power BI visual element. I can't add a popup tooltip (rendering another page). Please look at my code and suggest changes or provide links to simple examples. Official documentation didn't help me/
I'm getting the following when using the Export to File or Export to File in Group REST API endpoint when sending PNG as the format:
Export report to image is disabled on tenant level
I get a succesful response when sending PDF or PPTX as the format. The report is in a workspace assigned to dedicated capacity using a Azure Power BI Embedded A1 SKU in the West US region (same as the tenant's region).
I'm not aware of any tenant level settings for export to image and couldn't find anything in the Tenant or Capicity settings in the Admin Portal.
Anyone know if there is a setting at a tenant or dedicated capacity level that needs to be changed ... or if this is a limitation of Embedded (vs Premium, where I was able to get this to work for another org a month ago) or the region ... or if I need to specify something in the call?
Hi all,
I am connecting the Power BI in Microsoft Dynamics NAV. I have followed the steps to create a connection between Navision and Power BI. I am facing a problem the API is returning an embedUrl which NAVISION tries to store in a buffer table but the max length of storage is 250 characters and that API is returning more than 250 characters. All the coding is standard in the Microsoft Dynamics NAV. I did connect in the same way 6 months back but now I am facing this issue. Did they update the Api? if so what is the resolution of this?
Hi everyone,
exporting from Power BI service works fine. Exporting to PPTX/PNG from Power BI Embedded using the available API is awfully slow. A (very) simple report requires about 45 seconds. Anything more complex requires way more time (beyond several minutes).
Is there a way we can request more CPU/ressources for Power BI Embedded exports?
Regards,
DibaSFP
Hi,
We have a in-memory DB that understands MDX and XMLA and we'd like to be able to connect to it from PowerBI in a "live" manner. E.g. DAX queries would be transformed into queries at some level in out data source, rather than being aggregated in PowerBI (we have tens of terrabytes of data potentially)
Is this possible? It seems very hard to write new data sources that undstand DAX and can translate it to efficient queries on the underlying data? In this sense it would work the same way as the SSAS connect I beleive
Thanks,
Ben
Hi Team,
Trust everyone is doing well. I need some real help with Power BI.
So, I have around 12 metrics(12 line graphs to show the trend for each metric) and on the left hand side, I have Filters(L6 Manager, L5 Manager and so on till L1).So, now if I select any of the Manager, it will show the trend for that manager and if I select 2-3 managers it will show trend combinely for that 2-3 Managers.
But now the request is...They want to see all the managers graphs at once for the same metric. They want to compare the same trend with 2-3 Managers or evryone from his team. For example, one of the metric is "User Count". So when we select 3 Managers or his complete team, I want a 3 different line graphs or his total team strength showing the same metric for each manager respectively so that I can compare the graph among 3 managers or how many members he has under him and see which manager is doing well. Like a drilldown option.
May be I am thinking to have 12 separate tabs for each metric and have same metrics graphs (12 graphs..4*3) on each tab (All 12 graphs in 1 tab will be "User count" )and we can sync filters to each graph separately so that they can have 12 managers max selected and comparee 12 managers at a time. But if they want to see everyone under their team to see who is performing better then this is not an option.....Any Suggestions/ideas? Please help
Hi,
I have read several posts and tried many examples and none of them are filtering my report. Below are a couple examples. Please help.
At start till date "Active patients" are 0. Then "Total Active patients" = "Active Patients" + "New Patients" - "Drop off Patients".
And 2019 November's "Total Active patients" i.e 2 which is the December's "Active Patient". And 2019 December "Total Active Patients" i.e 4 which is 2020 January's "Active Patients" and so on...
Date | Active Patients | New Patients | Drop off Patients | Total Active Patients |
Nov-19 | 0 | 3 | 1 | 2 |
Dec-19 | 2 | 2 | 4 | |
Jan-20 | 4 | 1 | 2 | 3 |
Feb-20 | 3 | 1 | 4 | |
Mar-20 | 4 | 1 | 5 | |
Apr-20 | 5 | 2 | 1 | 6 |
May-20 | 6 | 10 | 2 | 14 |
Jun-20 | 14 | 4 | 1 | 17 |
How do I calculate "Active Patients" column In Power BI Using Dax.
Please Help me.
Thanks In Advance!
Is it possible to download or export a PBIX from the service with an API or cmdlet that's been uploaded with incremental refresh? I know you can't just export right from the service, but is there a way of doing it in a roundabout way?
When I try to connect Google Analytics to Power BI I get a script error (I think from GA) when trying to login.
This connection used to work but since trying to remove GA the reconnection now doesnt seem to work.
As our "Image by CloudScope" visual shows now a warning that "it is not supported and will be deprecated" we became aware of the fact, that CloudScope cannot support the Power BI environment anymore.
According to CloudScope especially funny, because Microsoft now forces a policy that loading external images is prohibited - for an image control which loads ... you guess it.
CloudScope's article with background information (and they are not very happy): https://www.cloudscope.io/blog/view/cloudscope-ends-support-for-power-bi-custom-visuals
Regards,
Björn
Hello All
My Company is looking for a reliable third party vendor that can create financial reports from MicrosoftGP to Power BI. I have found two solutions (Insightsoftware & M-Hance) but would like to see if there are any others you all have personally used and the pros and cons of it. Any information would be appreciated!
Thanks
MM
Hi,
I'm working on getting my data-pushed with c# and the power bi API, my issue is with datetime columns; My explanation, in my code, when I created the dataset I'm specificating the type of my data, if the column is string, I'm sending string, when is Datetime I send DateTime, in this part my process work perfect ( O at less is what I think it is). When I'm tring to push the data, my datetime format is "yyyy-MM-ddTHH:mm:ss.fffZ" and when execute the push work fine, but in my power bi desktop the column isn't marked as datetime and when I try to work with a datetime function is telling me that cannot convert value text to date, this is the message.
I'm assuming that my data isn't in the correct format in power bi dataset, what is driving me crazy.
If someone can give me the help I'll appreciate
Thanks for the help
We have a custom connector for getting data out of our SAAS accounting software. The REST API uses OAuth2 and 2-Factor Authorization. All is well in PBI desktop. Now we would like to refresh in the service.
We set up an on-premises gateway in personal mode following the instructions here and subsequent pages in the docs. Behavior is initially as expected: when clicking on "Edit credentials" a popup-window with the login screen for the accounting software appears. After supplying the user id and password, the expected behavior is for the 2nd factor authentication screen of the accounting software to replace the login screen (this happens in desktop). Instead, the entire popup-window disappears and we're back at the Configure-dialog of the custom connector in PowerBI. Since the authentication routine for the accounting software was not completed, there is obviously no way to refresh data in PowerBI.
My question: Has anyone experienced similar behavior and/or knows a solution for this issue?
Hi,
Have powershell script which currently writes output to .csv on local drive and uses Get-PowerBIReport cmdlet amongst others
Anyone know how to instead to write to a sharepoint location instead.
We currently have to save this manullay to sharepoint location and then run power bi report.
Would be better if we coudl write directly to sharepoint location in powershell.
Thanks
Hi,
I've publish a report into a workspace that we use for development. To migrate the report from the Dev Worspace to an UAT one, I've build a PowerShell script that import the report. In the script, I'm changing the database connection of the dataset to point to the UAT server and database using the report parameters (not a gateway). The issue that I'm now facing is that I also need to change the data source credential of the dataset since the user that we use in UAT is not the same then Dev.
How can I change those information using the API or use User Id and User Password parameters ?