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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
krzysztof
Helper III
Helper III

Two measures in a table that filter differently

I made the Units (datenameslicer) measure which should only filter on the dataname and the second Units measure (weekslicer) should only filter on the weeks slicer. For example, I would like to select the period from the DataName filter, e.g. 10.10.2020-12.12.2020, to get the result only in the measure Units (datenameslicer) and in the slicer with weeks, for example, select the 20th week of 2020, get the result only in the measure Units (weekslicer), so that was to be compared between these measures.

Note: I cannot create computed tables and columns because I am using a live connection | Both measures must be in one table visualization


PBX: PBX 

Picture.png

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

You can use CALCULATE with REMOVEFILTERS to remove the filter on the slicer you don't want to affect the result, and do the opposite on the other.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@krzysztof , You need to have two different date table and one of them need to be independent.

Refer to my blog, I use two date ranges. You can week in one case

 

https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

 

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
mahoneypat
Microsoft Employee
Microsoft Employee

You can use CALCULATE with REMOVEFILTERS to remove the filter on the slicer you don't want to affect the result, and do the opposite on the other.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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