Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
hello, i am trying to export results as a table to a csv
Get-PowerBIWorkspace | Format-table | Export-Csv C:\Users\spaldg\Downloads\wksp.csv -NoTypeInformation
when displayed on screen (without the Export) it looks fine
but when saved as a .csv, this is what i get
what am i doing wrong ?
thanks
g
Solved! Go to Solution.
Generally you don't want to use Export-Csv - Write-Output gives you better control over the result, especially for true CSV files.
But if you're sticking with Export-Csv, read this article
Why Can’t I Pipe Format-Table to Export-Csv (and get something useful)? | PowerShell (microsoft.com).
Hi @Anonymous ,
Please update the command line as follow and check whether you can get what you want:
Get-PowerBIWorkspace | Format-table | Export-Csv -Path C:\Users\spaldg\Downloads\wksp.csv -NoTypeInformation -Delim ";" |
Best Regards
Generally you don't want to use Export-Csv - Write-Output gives you better control over the result, especially for true CSV files.
But if you're sticking with Export-Csv, read this article
Why Can’t I Pipe Format-Table to Export-Csv (and get something useful)? | PowerShell (microsoft.com).
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
7 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |