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
HansKristiansen
Kudo Kingpin
Kudo Kingpin

Creating Power BI models programmatically

Hi all,

 

We are in a process of creating Power BI models created programmatically using C#/ .Net code/REST API etc.

It will simplify many migration projects we have lined up.

 

Do you have any direction ?

 

We are ready to invest to build some solution for metadata driven Power BI model.

 

Any support is great.

 

Thanks,

 

Regards

Hans

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@HansKristiansen wrote:

Hi all,

 

We are in a process of creating Power BI models created programmatically using C#/ .Net code/REST API etc.

It will simplify many migration projects we have lined up.

 

Do you have any direction ?

 

We are ready to invest to build some solution for metadata driven Power BI model.

 

Any support is great.

 

Thanks,

 

Regards

Hans


@HansKristiansen

What do you mean creating Power BI model programmatically, like creating a pbix file purely in C#? If so, I don't think it is possible at this moment, you can check this idea Power BI Designer API and vote it up.

View solution in original post

2 REPLIES 2
Eric_Zhang
Microsoft Employee
Microsoft Employee


@HansKristiansen wrote:

Hi all,

 

We are in a process of creating Power BI models created programmatically using C#/ .Net code/REST API etc.

It will simplify many migration projects we have lined up.

 

Do you have any direction ?

 

We are ready to invest to build some solution for metadata driven Power BI model.

 

Any support is great.

 

Thanks,

 

Regards

Hans


@HansKristiansen

What do you mean creating Power BI model programmatically, like creating a pbix file purely in C#? If so, I don't think it is possible at this moment, you can check this idea Power BI Designer API and vote it up.

@Eric_ZhangThanks Eric,

 

That is what we are looking for. 🙂

 

I have voted on the idea Power BI Designer API  now.

 

Regards,

Hans

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.