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.
Hi,
I have created unpivot column 'Value' of two columns - Amount and Count in power BI.
Measurement Value
Amount 135
Amount 1000
Count 1
.
.
.
I want to change the formatting of the column value depending upon if it is amount or count.
For example, 135 should be displayed as $135 and count should be just a whole number.
Are there any ways to achieve this?
Solved! Go to Solution.
You can not have different datatype or format for a single column. However, if you want just the currency sign to be displayed for Measurement = "Amount", then you can try the following steps:
1. Change the datatype of your Value column to Text
2. Then create a new calculated column using the following DAX:
You can not have different datatype or format for a single column. However, if you want just the currency sign to be displayed for Measurement = "Amount", then you can try the following steps:
1. Change the datatype of your Value column to Text
2. Then create a new calculated column using the following DAX:
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |