Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Please I need to show in matrix visualization in the same column both format with decimal and with out decimal.
see the example:
Nombre | No. Decimal | Value | Value Expected |
Ken | 1 | 200,56 | 200,5 |
Lloyd | 0 | 300,54 | 300 |
Viruez | 2 | 999,99 | 999,99 |
and "," is decimal separator
and "." is thousand separator
Thanks!
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"))
Please note this return TEXT values, if return numbers, all values will display as decimal.
Best Regards,
Qiuyun Yu
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])
Best Regards,
Qiuyun Yu
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
136 | |
117 | |
101 | |
71 | |
61 |