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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.