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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MiaSunny
Regular Visitor

Disable a filter while tables are related

Hi, 

 

I have some tables 2 fact tables: one from timesheet for hours used, the other one from SQL to get the count of tasks. 

the usernames and report names are different in the 2 platforms.

I am able to build a measure like: 

AverageTimeUsed = Divide( sum(timesheet[hours]), sum(SQL[CountofTasks])) to get the average processing time for each task. 

And I d like to have another measure shows the team average processing time. 

In a page I will have a table compares the processing time and average processing time, and add 2 slicers on username and date. 

when all the team members are  selected the 2 average time should be the same; and when some team members are selected, show the comparision between these people and the team average(it should not be changed by the username filter, but should be changed according to the date slicer) 

 

I tried

calculate(sum(timesheet[hours]),

ALL( timesheet[username]))  and

calculate ( sum(timesheet[hours]),

removefilters(timesheet[username]))

both are not working. 

And i tried to put all the columns related: 

calculate( sum(timesheet[hours]),

removefilters(timesheet[username]),

removefilters(sql[username]),

removefilters(usernameMappingTable[username])) 

or use ALL instead of the Removefilters function, the data are still changing with the slicer. 

 

Thank you for reading and all suggetions are appreciated! 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

use CROSSFILTER(x,y,NONE)

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

use CROSSFILTER(x,y,NONE)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Kudoed Authors