Forum Discussion

Krishanu's avatar
Krishanu
Helper I
4 years ago

Tabular editor with Powershell

Hi Experts,

 We are trying to automate few things using tabular editor and powershell.

Can someone help with connect command to a premium workspace's dataset ? we have tried with the below, but not working, so something is wrong . Not able to get a proper example around - 

 

$p = Start-Process -filePath C:\Users\ks\Documents\TabularEditor.Portable\TabularEditor.exe -Wait -NoNewWindow -PassThru `
-ArgumentList "`"Provider=MSOLAP;Data Source=powerbi://api.powerbi.com/v1.0/myorg/<worksapce name> <Dataset Name>`""
 and few other combinations with ` and "  .... but seems not working (either error message on invalid syntax or nothing loads in Tabular editor in case of the given example).
I know this is quite basic and I am embarrased 😕

3 Replies

  • v-cazheng-msft's avatar
    v-cazheng-msft
    Community Support

    Hi Krishanu,

     

    If you would like to connect to the dataset in Premium workspace, you may consider XMLA endpoints with Tabular Editor.

     

    You need enable read-write permission for the Premium capacity and you need connect with the connection URL.

    For more details, you could refer to Dataset connectivity and management with the XMLA endpoint in Power BI - Power BI | Microsoft Docs.

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!

     

    Best Regards,    

    Community Support Team _ Caiyun