Forum Discussion
mark_carlisle
5 years agoAdvocate IV
Removing square brackets from column headers DAX query
I'm attempting to streamline an extremely convoluted process developed by one of my colleagues that involves exporting data from a Power BI report, renaming various columns, then uploading the final ...
- 5 years ago
You're right. I see it too. How about this?
$Results | export-csv -Path $ExportPath -NoTypeInformation
(Get-Content -Path $ExportPath ) -replace '[\[\]]' | Set-Content -Path $ExportPath
mark_carlisle
5 years agoAdvocate IV
That's the one.
Thanks for the help.
lbendlin
5 years agoSuper User
Please do let me know once you get the ADOmd to work. So far it errors out for me.