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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ak77
Post Patron
Post Patron

Export data giving Special char

Hi Gurus,

 

Need a help. i have to display data using spaces as prefix based on condition .

i had used concatenate and unichar(127) to keep a space CONCATENATE(UNICHAR(127),[Column]). The problem is when exported to excel..it is showing up special characters. is there a chance to remove this while exporting or any way to keep a space where the special char wont show up.Please help

ak77_0-1701195576828.png

ak77_1-1701195792597.png

 

2 ACCEPTED SOLUTIONS
Ritaf1983
Super User
Super User

Hi @ak77 
You can use a space instead of the unichar in your Dax.
CONCATENATE(" ",[Column]).

If this post helps, then please consider Accepting it as the solution to help the other

members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

Ahmedx
Super User
Super User

try using this code

CONCATENATE ( UNICHAR ( 160 ),[Column] )

View solution in original post

3 REPLIES 3
Ahmedx
Super User
Super User

try using this code

CONCATENATE ( UNICHAR ( 160 ),[Column] )

12288 and 160 worked well.. Thanks @Ahmedx ..accepting as solution

Ritaf1983
Super User
Super User

Hi @ak77 
You can use a space instead of the unichar in your Dax.
CONCATENATE(" ",[Column]).

If this post helps, then please consider Accepting it as the solution to help the other

members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.