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
mikemagill
Helper I
Helper I

Calculation Group Slicer is overriding other measures

I have a Calculation Group of 22 measures.  The user can select which measures are shown in a Matrix Visual via a dropdown slicer.

To demonstrate my problem, I have the following measure in a card visual 

TestStatic = "Test"
When multiple items are selected from the Calculation Group slicer, the card visual shows 'Test'.  When a single item is selected, the card visual shows the result of the selected Calculation Group item.

I cannot work out why the calculation group is overriding other unconnected measures.   I have already tried loads of combinations of ALL, REMOVEFILTERS etc.

Help!
1 ACCEPTED SOLUTION

It isn't a solution really but could you prevent the slicer affecting the title card by turning off its interactions.
In theory it should make no difference if the title measure and the slicer measures are unrelated but if it does work it will tell you something ...


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

12 REPLIES 12
mikemagill
Helper I
Helper I

Thanks. I can't pretend that I particularly understand that page.  I did check the precedence level, which is currently set to two, and experimented with values of 1 and 0 but it had no impact.  It is possible that while developing this report I originally had a second calculation group, which was later deleted.  Could that be causing the issue?

Seeing as my TestStatic measure should not be impacted by anything else, I can't see what is going wrong.

Hmm are the measures you are passing out inter linked?

CalculationGroup Sales -> Sales This Year -> Sales this month only

 

If they aren't you could use Field Parameters to achieve the same result:
https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

I've just created a very simple report and recreated the problem so it's not anything complicated about my original report.


I can't seem to attach a .pbix file.  All I did was:

  • import a single-column table with values 1 to 50
  • create two measures to find the max and min values in the table
  • create a calculation group with these two measures
  • create a matrix visual with the calculation group as rows and one of the measures as values
  • add a slicer to the page for the calculation group
  • add my TestStatic measure to a card

You'll see the behaviour for yourself when you select a single value from the slicer

It isn't a solution really but could you prevent the slicer affecting the title card by turning off its interactions.
In theory it should make no difference if the title measure and the slicer measures are unrelated but if it does work it will tell you something ...


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Great shout! That works for my card visual but I'm also using a measure in one of my visual headers.  I can't mess with the interactions otherwise it'll affect the whole visual.

I may have to use text box instead for my visual header.

I'll mark this as a solution but it feels like there should be another way.

Thanks for your help.

It isn't a solution really but could you prevent the slicer affecting the title card by turning off its interactions.
In theory it should make no difference if the title measure and the slicer measures are unrelated but if it does work it will tell you something ...


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Kedar_Pande
Super User
Super User

@mikemagill 

Update TestStatic as follows:

TestStatic = 
IF(
ISINSCOPE(CalculationGroupTable[CalculationGroupColumn]),
"Test",
"Test"
)

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

I'm afraid that doesn't work.

 

SamWiseOwl
Super User
Super User

So it looks like this but your card changes its value?

SamWiseOwl_0-1730203504521.png

That is bizzare!


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

This is a screenshot with two measures selected:

mikemagill_0-1730203788337.png


The next screenshot is when just one measure is selected:

mikemagill_1-1730203851960.png


The test measure was just to see how pervasive the issue is



I feel like the section on Precedence is what you are needing:
https://learn.microsoft.com/en-us/analysis-services/tabular-models/calculation-groups?view=asallprod...


Although if your measure isn't in either 🤔


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

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.