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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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.



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

9 REPLIES 9
v-yulgu-msft
Microsoft Employee
Microsoft 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?



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

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.



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Dear @Greg_Deckler ,

 

Thanks for your help, one question, is it possible to have spaces at the beginning of a measure name (i.e. = "     MeasureName")?

 

Thanks.

 

PS: I love your latest book about PQ

@PabloML Apparently it is. See attached, updated PBIX. And thanks!!

 



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.