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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.