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
y08it105
Regular Visitor

How to create Power BI Data Model Automatically using power shell

Hi Team,

 

How do we extract the json code behind the power bi Model and use that to create a new power bi model by changing the table names and relation ship using power shell.

 

Thanks,

Manoj

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @y08it105 

 

As far as I know this is not possible, you would need to try and use Tabular Editor which might be the only way to get this working. Just note that it is not fully supported.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

5 REPLIES 5
y08it105
Regular Visitor

I am accepting this is a solution. However we have sent a note Microsoft team to understand further

Thanks for letting us know.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

GilbertQ
Super User
Super User

Hi @y08it105 


The push dataset is where it just has got one table and then you can view this via a dashboard. This would not create a robuts and scalable dataset for reporting.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

y08it105
Regular Visitor

 Hi @GilbertQ , Looks like we have a way using Push Data Set API, but mircosoft or power bi didn't implement the completly, i am able to create data sets automatically but not able to data source connection and relationships 

 

Below is the link i am using 

 

https://docs.microsoft.com/en-us/rest/api/power-bi/push-datasets/datasets-post-dataset

GilbertQ
Super User
Super User

Hi @y08it105 

 

As far as I know this is not possible, you would need to try and use Tabular Editor which might be the only way to get this working. Just note that it is not fully supported.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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.