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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Remove filter in calculation group

Hi,

I have a calculation group made in Tabular Editor. I use it for display units and it works fine on my measures. But when i do a Percentage calculation, it should not work on those measures. I have tried to use removefilters() on my percentage measure, but it doesn't have any effect. Is there some way i can add the filter in my calculation groups table, so it doesn't affect this percentage filter? 

 

I use the selectedmeasure() just in my calculation group. Hope somebody can help with this. 

3 REPLIES 3
BrunieToons
Frequent Visitor

Related to AmiraBedh's post, Alberto did a short vid on it: ISSELECTEDMEASURE – DAX Guide - SQLBI
I think I am trying to do the same thing you are and it worked like a charm.

AmiraBedh
Super User
Super User

Try to use `ISSELECTEDMEASURE` function within your calculation group's table. It allows you to check whether a specific measure is currently selected and apply different logic based on the result.

Here's an example of how you can use the `ISSELECTEDMEASURE` function in the calculation group table to exclude measures from the calculation group's effects:

 

Here's an example : 


MyPercentageMeasure :=
IF ( ISSELECTEDMEASURE ( 'MyModel'[MyPercentageMeasure] ), 'MyModel'[MyPercentageMeasure], BLANK() )

This formula checks if "MyPercentageMeasure" is selected and returns its value. If it is not selected, it returns BLANK().


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696
amitchandak
Super User
Super User

@Anonymous , Based on what I got , you have to create another calculation group like

 

Divide([selected measure], calculate([selected measure], removefilters(Table) ) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.