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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors