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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

ALL DAX Expression blocking other filters

Hello everyone,

 

I have a table out of three merged table and I use below dax to caculate active sales persons that we contact within last 90 days.

I have calendar table as well. Basically, I'm getting people between choosing min and max date and also contacted sales people within selected min calendar date. So, it is:

 

actives = CALCULATE(
DISTINCTCOUNT(agents_calls_appointments[_pk]),
FILTER(ALL('agents_calls_appointments'),
([last_meeting_date] >= MIN( 'calendar'[Date] ) && [last_meeting_date] <= MAX( 'calendar'[Date] )) ||
([last_meeting_date] > MIN('calendar'[Date])-90))
)

The problem is I have different filters on my page, and this calculation does not react with other filters.
Filters are connected with the table I use for calculation. So, Active Sales Executive doesn't react with other filters.
Also want to mention that interactions between visuals are on.

filtersfiltersactive sales executivesactive sales executives
I think problem is coming from this ALL dax function. I believe I have to use it. I tried without ALL function but the calculation is giving me wrong number.
 
Any feedback is greatly appreciate it. Thank you.
1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

Try to use ALLSELECTED(Table).
ALLSELECTED

 

The definitive guide to ALLSELECTED

Managing “all” functions in DAX: ALL, ALLSELECTED, ALLNOBLANKROW, ALLEXCEPT

 

 

Best Regards,
Community Support Team _ Zeon Zheng


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

View solution in original post

3 REPLIES 3
v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

Try to use ALLSELECTED(Table).
ALLSELECTED

 

The definitive guide to ALLSELECTED

Managing “all” functions in DAX: ALL, ALLSELECTED, ALLNOBLANKROW, ALLEXCEPT

 

 

Best Regards,
Community Support Team _ Zeon Zheng


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

PaulDBrown
Community Champion
Community Champion

Use ALL(Table [Column]) instead.
If you use  ALL(Table) it removes filters on all the fields in the table





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Thank you for your reply.
I did but giving me wrong number. Actually, exact same number as using without all function.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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