Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Krishanu
Helper I
Helper I

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 3
v-cazheng-msft
Community Support
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

@v-cazheng-msft  these initial checks are already done and we are trying to use powershell options with tabular editor with power bi xmla endpoint -  https://docs.tabulareditor.com/te2/Command-line-Options.html
Although command line works , but couldn't figure out the powershell way of  doing it as mentioned in the original post above. I hope it's clear now.

Krishanu
Helper I
Helper I

Hello @dotykier 

Can you pls help here 🙂  

Sorry, didnt get any response from anyone else.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.