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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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