Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Call C# executable from a cloud flow to refresh Power BI dataset automatically

I have a requirement to call a C# executable from my Power BI report that can refresh dataset automatically in PBI service.

Point to note here is that my C# exe exports dataset results in Excel file(.xlsx). 

 

Now, the question is whether this scenario is at all possible in PBI service so that Scheduled Refresh works(by calling C# exe internally and importing the results from Excel file into PBI report)?

 

I can run C# console app locally and get data from excel in the report but I need to schedule it automatically in service. Is it somehow possible?

 

Thanks

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Explore if REST APIs and Cmdlets can help. You should be able use them in programming

 

https://docs.microsoft.com/en-us/rest/api/power-bi/

https://docs.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors