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

How do I place the decimal on the labels?

Hello!

I would like to know how the decimal can be able on a label which comes from a categorical variable and here that "total number of respondents" is the count.

Sin título.jpg

Thank you very much 🙂

1 ACCEPTED SOLUTION

Hi @Anonymous 

Create a column

Column = FORMAT( CONVERT([Column1],DOUBLE),"#,#")

[Column1] is a column of text type,

Capture10.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hello

Thank you but you can't, it's text because it's categorical and therefore when I try to change it to number it gives me an error.

amitchandak
Super User
Super User

@Anonymous , Create a count measure and set format to have one decimal place. 

Data Format New Rib.png

Pragati11
Super User
Super User

Hi @Anonymous ,

 

Try chnaging the data-type to Decimal Number.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Thank you for your input but it is a categorical variable, it does not allow to do it

Hi @Anonymous 

Create a column

Column = FORMAT( CONVERT([Column1],DOUBLE),"#,#")

[Column1] is a column of text type,

Capture10.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
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.