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
rolyzo
Helper I
Helper I

Show in Matrix Visualization, column with decimal and with out decimal

Please I need to show in matrix visualization in the same column both format with decimal and with out decimal.

 

see the example:

NombreNo. DecimalValueValue Expected
Ken1200,56200,5
Lloyd0300,54300
Viruez2999,99999,99

 

and "," is decimal separator

and "." is thousand separator

 

Thanks!

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @rolyzo,

 

You can create a measure: 

 

Measure 2 = IF(MAX('Table2'[Nombre])="Lloyd",FORMAT(INT(MAX('Table2'[Value])),"General Number"),FORMAT(MAX('Table2'[Value]),"General Number"))

 

q1.PNG

 

Please note this return TEXT values, if return numbers, all values will display as decimal. 

 

Best Regards,
Qiuyun Yu

 

 

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

Thanks,

 

But I need to show

 

Measure 2

200,5

300

999.99

 

All depent of the column No.Decimal.

 

Regards.

Hi @rolyzo,

 

You can create a calculated column use the Round() function to round decimal number to desired digits. 

 

Desired = ROUND('Table1'[Value],'Table1'[No. Decimal])

 

q1.PNG

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
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.