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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors