Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am dragging columns from my datasource into a table in Power BI Report Builder. The column names include the use of the underscore when spaces are present i.e. "entry_nbr", "entry_summary_date". When put into the table, the header removes the underscore so that the output table shows spaces in the column title:
How do I maintain the original column titles? There are times I want the underscore to remain. Other times it may be ok, but this isn't one of them...
Solved! Go to Solution.
Hi @RPYee , hello rohit1991, thank you for your prompt reply!
As far as I know, there is no way to change this default behaviour.
As a workaround, we could set expression for each column, double click the filed you need to make it display underscore:
Additionally, you could also save the file first, then open the file in notepad, replace the column name in text editor:
Best regards,
Joyce
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
To maintain original column titles with underscores in Power BI Report Builder:
Preview the report to confirm changes.
1. There are about 30 columns being pulled. I do not have the time, nor the patience, to manually edit every single column header. With a program as robust as PowerBI, I shouldn't have to!
2. Even when my query plainly states AS, with the underscore included, the underscore is being removed from the column header.
3. I cannot find this setting. Can you provide a bit more detail on where it is located?
Hi @RPYee , hello rohit1991, thank you for your prompt reply!
As far as I know, there is no way to change this default behaviour.
As a workaround, we could set expression for each column, double click the filed you need to make it display underscore:
Additionally, you could also save the file first, then open the file in notepad, replace the column name in text editor:
Best regards,
Joyce
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 74 | |
| 66 | |
| 65 |