cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kraftfood
Helper I
Helper I

Filters between table, allexcept, allselected...

Hello the community,

I have an issue with using allexcept in DAX.

I have 3 tables, 1 fact table lists the "tickets" raised, this table is related to the 2 others that are the list of active employee and their location and the list of all employee and their location since creation of the company.

I'm counting the number of "ticket" that have been raised and filtering by location.

There are others fields that I haven't included in my test power bi, but I use the location of the "active employee" table for other graphs, however, I would like the total ticket number to show the total ticket raised by all employee, not all employee. (I use roles and row level security).

I tried using allexcept within a calculate formula, by itself, tried allselected and all as well. I always have either the same number, either no filters are taken.

Please see the excel tables bases: https://1drv.ms/x/s!AkGwzt_UiPRCg3Ii-h7WJ3Bpd4zJ?e=cewQVR

Power bi demo: https://1drv.ms/u/s!AkGwzt_UiPRCg3Eoq6Dv81IfE6oh?e=s6xBnD

I use Raw Level Security to share the reports.

Do not hesitation to ask if anything is unclear.

Thanks in advance!

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @Kraftfood,

Perhaps you can take a look at the following blog about Dax 'all' functions and usages if helps:

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

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors