Forum Discussion
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
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.
5 Replies
- y08it105Regular 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
- y08it105Regular Visitor
I am accepting this is a solution. However we have sent a note Microsoft team to understand further
- GilbertQSuper User
Thanks for letting us know.