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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

0

Cannot open .pbix or .pbip files from Command Line?

Hi,

Surprisngly could not find other questions regarding this topic, but has anyone been able to successfully open PowerBI files from command line (WSL or Powershell)?

When trying the PBIDesktopStore.exe binary for a .pbip file I get

cboelterGNH_0-1722653106841.png


Else when I try to open a .pbix file using the downloaded x86 PowerBI Desktop, I get this (I added the bin directory to my path)

cboelterGNH_1-1722654494058.png


Please let me know if you have advice,

Thank you




Status: Delivered
Comments
lbendlin
Super User

What's your business scenario that requires this feature?

cboelterGNH
Frequent Visitor


Hi @lbendlin,
Just development experience. 

I simply prefer to navigate through the commandline and powerbi files are the only type I have not been able to get to work.

When using unix-based file explorer programs, it can be quite quick to open up my development files this way, especially in a very nested directory structure.

A large part of my work day is navigating to different .pbip files and I would like to make it as efficient as possible.

lbendlin
Super User

This

 

"C:\Program Files\Microsoft Power BI Desktop\bin\PBIDesktop.exe" "c:\users\lutz\downloads\test.pbix"

 

seems to work for me.

cboelterGNH
Frequent Visitor

I used the x64 install with that syntax and it appears to work!

Awesome, thanks.

Anonymous
Not applicable

Hi @cboelterGNH ,

 

Thanks for Ibendlin‘s help and glad that your problem has been solved.

Now this thread will be delivered.

 

Best regards.
Community Support Team_Caitlyn