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
mpavillard
Regular Visitor

Thousand separator

Hi everyone,

I'm really new to Power BI and I'm having issues with probably the easiest thing ever. I just built a bar chart that gives me the following values: 57003, 5637 and 2995. How can I make it so it gives me 57.003, 5.637 and 2.995? It would seem the easiest thing, but I can't find it anywhere.

 

Thank you

 

1 ACCEPTED SOLUTION

Not @mpavillard,

He did not refer to it being a text value. In that case, create a measure like the following and create the format of the field.

MEasure = COUNT(TAble[Columna])


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

9 REPLIES 9
lbeneyze
Advocate II
Advocate II

Hi Mpavillard,

 

I would change the datatype of the column in Power Query to Whole Number:

Button "Data type" in "Any Column" group under "Transform" ribbon tab

Then you can do what you want on Power BI Desktop.

 

Good luck

 

Did I answer your question? Please mark this post as a solution.

Kudo's are always accepted. Hit the thumbs up button 👍

 

Kind regards,

Lohic Beneyzet

 

@lbeneyze  how can you change a city name to a number format? That will return an error since the fields are not matching.

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



@MFelix 

In the original message: "I just built a bar chart that gives me the following values: 57003, 5637 and 2995. How can I make it so it gives me 57.003, 5.637 and 2.995?"

 

Based on this information and the fact that the data is text, i assumed that the initial column could be converted to a whole number.

 

That's why I suggested this answer.

 

Kind regards,

Lohic Beneyzet 

 

MFelix
Super User
Super User

Hi @mpavillard ,

 

That has to do with the formatting, select the column or measure then go to the columns/measure options and activate the comma:

 

format.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Thank you @MFelix but mine doesn't show the Column tab:

Power BI Desktop.png

 

Hi @mpavillard ,

 

You are using the previous version of the ribbon on the modeling tab when you select a column the option appears.

format_ribon.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



But it's greyed out, I can't select it. I think it's due to the fact that the data type is Text, but I can't change it, because it's actually a count of records of a text field, so that's correct.

Power BI Desktop.png

If I try to change it to Whole number, I get the following error:

Power BI Desktop2.png

 

Imagine this was a list of cities, and I wanted to know the number of cities in a certain country. That of course would be a count and would return a number, but the data is actually text. Why can't I format that count?

 

Not @mpavillard,

He did not refer to it being a text value. In that case, create a measure like the following and create the format of the field.

MEasure = COUNT(TAble[Columna])


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Thank you @MFelix , that finally did it!! sorry about all the messages back and forth, but I'm very new at Power BI.

 

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.