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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
gvrspk17
Regular Visitor

How to Create Power BI Report , Dataset and Modelling programmatically / using SDK

Hi All, 

Good Morning!!

 

I am looking for a solution to create Power BI Report & Modelling programmatically or using SDK. 

 

for example,

              1.  trying to create data modelling based on Tables, joins using metadata details in fileformat. 

              2.  if i want to create a report with 2 barchart, 1pie chart and few slicers , programmatically  i  these control i should have it from program.  

 

if its not possible for fully automated way, can we partially implement like editing dax query or MQuery dynamically. 

 

i have searched a lot but i didnt get any solution for this.  REST API is useful for editing published report or dataset in power bi service. 

 

I hope currently there is no API.  please suggest. 

 

Thanks in advance. 

1 REPLY 1
lbendlin
Super User
Super User

The usual approach is to use templates or stubs and then modify their connections (for example).  If you want to dynamically create visuals look into the Embedded SDK.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.