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
RiRo
New Member

How to add spaces between numbers in a column?

Hi how do I add space between numbers in a colum in Power BI Desktop. I saw that you can use comma. Can you use space or dots?

 

Eg I have 111234567

I want it look look like this:

 

111 234 567

or

111.234.567

 

/KR

3 REPLIES 3
MarcelBeug
Community Champion
Community Champion

It depends.

 

If you want to keep it as a number in Power Desktop, then you must create a new pbix file after you have adjusted your regional settings to a culture that uses a space as thousand separator, e.g. Norway.

I couldn't find a way to adjust it in an existing pbix file, nor via adjusting the Regional Settings via options in Power BI Desktop, nor by adjusting the regional settings in Windows.

 

For reports in Power BI, the displayed number format depends on your personal settings.

 

Or do you want to convert the number to text with spaces for thousand separators?

Specializing in Power Query Formula Language (M)

Ok thanks for the tip, I will try it.

 

No I don't want to change it to text, it should remain as int datatype.

 

/KR

 

Hi @RiRo,

 

As @MarcelBeug said, if you format the values based on current column, it will force the data type to be changed to text.

 

The only workaround is to change the regional settings so that the long values will use space or dot as its thounsands separator.

 

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.

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.