cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
RiRo Frequent Visitor
Frequent Visitor

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 Super Contributor
Super Contributor

Re: How to add spaces between numbers in a column?

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)
RiRo Frequent Visitor
Frequent Visitor

Re: How to add spaces between numbers in a column?

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

 

v-yulgu-msft Super Contributor
Super Contributor

Re: How to add spaces between numbers in a column?

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
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 309 members 3,513 guests
Please welcome our newest community members: