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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Adding spaces in the title/name of a field/measure

Hi,

 

How can I add spaces in the title/name of a field/measure?

 

In the snapshot, I show the name of the measure (which contains internal 4 spaces) and the name as it appears in the visual (no spaces).

 

https://ibb.co/ksx87U

 

Thanks

Tamir

1 ACCEPTED SOLUTION

@Anonymous, 

 

@v-yulgu-msft is not quite correct, you can achieve the effect that you want by using character code 2004 Three-Per-Em Space instead of 0020 (space). I did this by going into Word and then copying the character and using it as my space in the measure names. See attached.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

7 REPLIES 7
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

Based on my test, the spaces in column or measure names cannot be recognized after being added into visuals. As of now, there is no option to change this behavior.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Super User
Super User

Not sure what is going on here, not enough information in the screen shots. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Can you provide sample data and let me know what visuals you are using?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Anonymous, 

 

@v-yulgu-msft is not quite correct, you can achieve the effect that you want by using character code 2004 Three-Per-Em Space instead of 0020 (space). I did this by going into Word and then copying the character and using it as my space in the measure names. See attached.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

HI!
Im trying to wrtite this coude in the rename area inside power BI, but when I write : the character code 2004, doesnt change. Maybe its the keyboard or im writing it in the wrong way. Can you tell me how is that you wrote it? I open the attached file as well and dont see any code around. It would be nice an example of how to write it.

Thanks!

Anonymous
Not applicable

Hi @Greg_Deckler

 

I tried the Three-Per-Em Space and it works great within between the words.

 

However, I need also to create an empty row within a table (for better visibility) and I thought to use that character to show blank as the name of the measure.

 

It doesn't work.

 

Do you have an idea for that?

 

Thank you,

Tamir

Anonymous
Not applicable

Hi @Greg_Deckler

Cool trick 🙂

Thank you!

Tamir

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.