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
Anonymous
Not applicable

Automatically inserting json for push datasets instead of manually typing in the json format.

Hello everyone,

 

I have a list of objects with many objects in a json file. There are round about 400 objects in that list. It would be impossible to type everything by hand as I always had to do, when I wanted to add a streaming dataset, i.e. when I wanted to push data from my RestAPI to the PowerBI services or PowerBI desktop. Is there a way to just insert that json file as a template for the several values of the streaming Dataset notation instead of manually typing everything? Thanks in advance!

best regards

7 REPLIES 7
lbendlin
Super User
Super User

Streaming datasets only accept individual "rows".  But in your process (Power Automate or Power Query) you can iterate through your JSON array and push the records one by one.

Anonymous
Not applicable

@lbendlin: But I want to create a streamingdataset via a script and not just write values in an existing streamingdataset. I have one JSON object with over 100 lines. To manually type all in, while creating the streaming dataset in the PowerBI Service would take too long. Your Microsoft document does not describe how to do that, only how to add something to an existing streaming dataset. I already know that. Thanks in advance!

Anonymous
Not applicable

@lbendlin: Thank you very much! I will try this tomorrow at work and when it works I mark your answer as the solution to my question.

Anonymous
Not applicable

@lbendlin: After very long researching I found a Microsoft documentation, which describes how to communicate with the PowerBI rest API with the help of a C# console application, which has to be registered inside the personal azure portal. The documentation can be read under: https://docs.microsoft.com/de-de/power-bi/developer/automation/walkthrough-push-data-create-dataset....

 

This C# console app works great and I can now create a dataset based on a JSON file. @lbendlin : You just posted a link to the different API instructions, which can be send to the PowerBI rest API. Therefore, it is not the real solution to my question. But, you gave me the hint, that it is in principle posssible to create a dataset with a communication with the PowerBi API. So you get a like for your answer, but I can not mark it as a solution to my question.

 

 

Anonymous
Not applicable

Thanks, @lbendlin. Is there an official microsoft tutorial to this? A document I can read about that topic? Thanks. Best regards!

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