Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi guys,
I am having some difficulty with format of my measures using calculation items.
I have created a calculation item using selected measure function. issue is that it is implementing format on all the measures present in the visual.
This is the table which i use to define the format:
This is my simple measure:
This the expression and format that i inserted in the caluclation item:
This is the result:
Value 1 and value 2 both are same measures. calculation item is applying format on both measures but i want it only on one measure.
Is there any ways to exclude the specific measure inside calculation item?
Thanks in advance 🙂
Solved! Go to Solution.
You can do a check inside both the calculation item expression and the format string using ISSELECTEDMEASURE or SELECTEDMEASURENAME, then take whatever action is appropriate.
You can do a check inside both the calculation item expression and the format string using ISSELECTEDMEASURE or SELECTEDMEASURENAME, then take whatever action is appropriate.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 151 | |
| 130 | |
| 109 | |
| 79 | |
| 54 |