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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
avachris
Frequent Visitor

Calculation Group is Overriding My Measures

Hi All - I'm using calculation groups, but it appears when i click into the visual where a calculation group value exists, the filter context is messing with my other measures, and is in fact overwriting them. (ie bring back a value from the measure I clicked into, rather than the measure which the visual is based upon). 

 

I get that this is filter context getting passed to the visual and I assumed that using some sort of combination of all or remove filters pointed at the calculation group table would fix the issue. 

 

That doesn't appear to be the case. Is this a bug? Or is there a good way to handle this?

 

Its worth noting that my calculation measures general start with selectedmeasure(). I have not yet attempted to rewrite the calculation groups with an if statement so that only the relevant measures are modified?

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @avachris,

 

Maybe  you can try to use if statement or switch() if you have multiole groups, you can refer to the following links:

SWITCH function (DAX) - DAX | Microsoft Learn

If information above cannot meet your requirement, can you offer some sample pictures or data?

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.