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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Nishang
New Member

Auto-Create Report using PowerBI API

Hi all,

I'm working on an app where users paste a JSON array, and I use the Power BI REST API to:

1. Create a dataset

2. Push data into a table

Now, I want to automatically generate a report from this newly created dataset without manually designing a report in Power BI Desktop.

Is there a way to:

1. Auto-Create a report layout (e.g., default visuals) when a dataset is created via the API?

2. Optionally, guide Power BI what to plot (e.g., bar chart: X = category, Y = value)?

🔧 My stack:

Python backend using requests to call Power BI REST API

Any official methods, best practices, or workarounds to achieve this dynamic reporting pipeline?

1 ACCEPTED SOLUTION
GigaGandalf
Frequent Visitor

Hi Nishang,

as you have your data in a JSON format, this might do what you need:
https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/embed-quick-report#step-11---creat...
The quick create function will allow you to let powerbi create a report from your data.

View solution in original post

5 REPLIES 5
v-priyankata
Community Support
Community Support

Hi @Nishang 
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.

v-priyankata
Community Support
Community Support

Hi @Nishang 
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.

v-priyankata
Community Support
Community Support

Hi @Nishang 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

GigaGandalf
Frequent Visitor

Hi Nishang,

as you have your data in a JSON format, this might do what you need:
https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/embed-quick-report#step-11---creat...
The quick create function will allow you to let powerbi create a report from your data.

lbendlin
Super User
Super User

What is the target audience? What is the expected lifetime of that report?  To me this sounds like you are solving the wrong problem.  Power BI is not about producing reports, it is about generating actionable insights.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.