Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.