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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.