Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I need to implement a solution in C# desktop, to access POWER BI, and update the report, that's all.
I'm trying with this library but it doesn't work.
Could someone give me an example or point out where to learn how to use this library
Thanks
Solved! Go to Solution.
Hey @venildo,
Take a look at some of these links:
Refresh PowerBI reports using C# and web API – Dynamics CRM Tech Blogs (wordpress.com)
PowerBIClient C# (CSharp) Code Examples - HotExamples
Proud to be a Super User!
Good Morning
First of all thank you very much for the answer I saved my life, hahah
Can I ask for one more thing?
You would have a link demonstrating how to use the update-datasources API, as I'm having difficulty in parameterizing it to configure the database paths to update the BI.
I'm using 3 different data sources, SQL Server, MySql and Access.
Thank you very much
Good Morning @venildo ,
Can you show me what you're doing and what you're trying to accomplish?
Proud to be a Super User!
Good afternoon!!!
My goal is very simple, I have an application that updates several databases (Access, MySql Server and SQL Server) and after updating these databases I need the PBIX to be automatically updated through the application.
I've been testing the online power bi refresh button and it doesn't seem to work, as the report is not refreshed, it's only refreshed when I refresh from the desktop, so I was in doubt if I would use the refreshest API (https://api. powerbi.com/v1.0/myorg/datasets/{0}/refreshes) will work or do I need to update the databases path through the api https://api.powerbi.com/v1.0/myorg/datasets /{datasetId}/Default.UpdateDatasources.
My project is being developed in .Net (VB.Net, but if the examples are in C# I know no problem.)
Thank you so much for your help as always.
One of the things you'll want to check is if you have XMLA Read/Write enabled. You will need that to refresh outside of Power BI.
Proud to be a Super User!
Thanks again for your attention.
Where do I see it?
If it's on the Azure Portal, I've already put in all possible permissions.
Do I need to do some configuration inside Power Bi?
This is found in the Power BI Service Admin Portal. Under Capacity settings. Then you'd click on your capcity.
Proud to be a Super User!
Hey @venildo,
Take a look at some of these links:
Refresh PowerBI reports using C# and web API – Dynamics CRM Tech Blogs (wordpress.com)
PowerBIClient C# (CSharp) Code Examples - HotExamples
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
17 | |
2 | |
2 | |
1 | |
1 |