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
tjliushijun
Microsoft Employee
Microsoft Employee

How to generate dataset and dashboard in Power BI portal automatically?

Hi, everyone,

I want to automatically generate the dataset and dashboard in Power BI portal. I know that I can create and edit the dataset using REST API. Then what about the dashboard? Or if I can import a pbix document and edit it?

 

Thanks,

Shijun

5 REPLIES 5
Greg_Deckler
Community Champion
Community Champion

I am thinking that you need to look along the lines of creating a content pack...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi,

I mean that I want my partners can deploy dataset and dashboard in their Power BI portal by programming, and they have the editing access.

Going to have to explain more of the context here. The generally accepted way of doing what you are referring to is to use content packs, either Organizational or third-party. From your description, it seems like you could just create a PBIX file and give it to them and they could publish the PBIX file to their tenant. I am not understanding the need for the programming aspect of this but willing to listen and learn.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Sorry about confusing you .....


I mean that my partner has their own portal to deploy all the iot services. So they want a button in their own portal that pushing it will deploy the dataset and dashboard to Power BI portal. So they have to use rest api in their project to make Power BI connect to their own new database and generate a dashboard......So I'm looking for Power BI's dataset REST API and dashboard API.

 


@tjliushijun wrote:

Sorry about confusing you .....


I mean that my partner has their own portal to deploy all the iot services. So they want a button in their own portal that pushing it will deploy the dataset and dashboard to Power BI portal. So they have to use rest api in their project to make Power BI connect to their own new database and generate a dashboard......So I'm looking for Power BI's dataset REST API and dashboard API.


 

 

@tjliushijun

There's an Import API that can upload a pbix file to Power BI service, check the sample getting-started-for-dotnet-import.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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