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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
TaroGulati
Helper III
Helper III

Calculation item issue

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:

 

TaroGulati_0-1649675521828.png

This is my simple measure:

 

TaroGulati_1-1649675549479.png

This the expression and format that i inserted in the caluclation item:

TaroGulati_2-1649675595709.png

This is the result:

 

TaroGulati_3-1649675615871.png

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 🙂

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

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.

View solution in original post

2 REPLIES 2
TaroGulati
Helper III
Helper III

@johnt75 thanks

johnt75
Super User
Super User

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.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors