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
sofias
Frequent Visitor

Table Sorter visual | values with only 2 decimal places

Hello everyone,

 

Can anyone please help me to understand if it is possible to only have values with "X" numbers of decimal places? In my case, I want 2, and I'm using Table sorter visual. And I only cannot do it to the value that I use as "rank" value.

 

Thanks.forum.PNG

 

4 REPLIES 4
v-yulgu-msft
Employee
Employee

Hi @sofias,

 

You could refer to below screenshot.

1.PNG

 

Best 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.

Hello,

 

Yes, that is my default definition but it still wont work. What I did in the meanwhile was to have that metric calculated with a round function, with 2 decimal places. But still don't know how to do it in the visual or even if it is possible.

 

Thank you

Hi @sofias,

 

Based on my test, it is not possible to set the decimal places for the field added to Table Sorter. As of now, the best choice is to do metric calculated with a round function, as you mentioned above.

 

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.
Thejeswar
Resident Rockstar
Resident Rockstar

Hi @sofias,

Did you try doing the following

 

1. Select the column in the Fields section,

2. Go to the Modelling Tab in the Ribbon

3. Change the Data Type  as Decimal Number and set the Number of Decimal places to 2. It will be by default 'Auto'

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.