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
rockcliff15
Frequent Visitor

Programmatically create JSON for new dataflow creation

I need to create a lot of dataflows (100+) and if possible I would like to automate as much of this processe as possible.

 

I know you can create a dataflow from json, but this requires exporting it from an existing dataflow. 

 

My question is can I generate the JSON myself, save it as a file and import it into a workspace.

 

Many thanks

4 REPLIES 4
lbendlin
Super User
Super User

Yes? What have you tried and where are you stuck?

Thanks for your reply, I have exported the JSON from an existing dataflow and can write a program to automate the creation of the majority of this.

 

However I notice that there is a section in the JSON called "pbi mashup" which includes "queryid" for each entity which I cannot automate as this, from what I can see, is generated on creation of the dataflow.

 

I'd like to create these dataflows from scratch, so how do i pull these ID's in when they dont exist yet?

Hello Rockcliff15,

Do you still look for a way to generate a QueryId ? If not, could you share with us your solution ? I have the same need and issue now...

 

Thanks !

@damien75011 unfortunately not, this is still an open issue for us.

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.