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 have a dataset that has a field with a lot of trailing spaces -- when I load the data to the desktop, it seems like it automatically trims the trailing spaces. I know its somewhat unusual, but I need to keep them -- is there a way to do that?
Solved! Go to Solution.
Hi @doubles,
By my tests, we may not keep the trailing spaces when loading the data. It will only load the space before the character or the space between the characters.
You could submit your idea in Power BI ideas Forum.
As a workaround, if you have the same trailing space, you could use dax to add the space.
Here is an attachment you could refer to.
Best Regards,
Cherry
Hi @doubles,
By my tests, we may not keep the trailing spaces when loading the data. It will only load the space before the character or the space between the characters.
You could submit your idea in Power BI ideas Forum.
As a workaround, if you have the same trailing space, you could use dax to add the space.
Here is an attachment you could refer to.
Best Regards,
Cherry
Thank you, yes -- I did end up using DAX to add the spaces.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 60 | |
| 43 | |
| 40 | |
| 36 | |
| 21 |
| User | Count |
|---|---|
| 178 | |
| 122 | |
| 107 | |
| 77 | |
| 50 |