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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
campelliann
Post Patron
Post Patron

ALL strange behavior- Help please

Hi there, 

So here I have a small table (unique table in the model for test purposes) where I want to ignore the filter context from column "Categoria"

campelliann_0-1746445788565.png

 

Here I create the below measure (countall) /visual. And the behavior is as expected. PowerBI ignores the filter from "category" column, and counts 4 people. 

campelliann_1-1746445820981.png

But why when I add a filter that is less restritive on a new column "Categoria sem número". ALL does not work, and counts only 2 trainees.

campelliann_2-1746445914925.png

Even weirder for me is this, the difference of results for first row on 1.Trainee between the previous and below example. Why does countall measure here give me 3 on trainee? On the matrix I have a filter on trainee on the first row. But in the previous image, when I apply the slicer on trainee, the result is 2. Shouldnt the result be the same? Both in the matrix, and in the slicer I am applying the following filter [Categoria]="1. Trainee"

 

campelliann_3-1746446106477.png

 

 

 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. Using ALL to a single column it's asking to remove filters for that specific column when used. However, if you are using another column to filter the same table, it will filter the table. That's why Categoria sem número will filter the count of categoria even if there is an ALL Categoria. You can add the column to the all (you can use more than one column to the all) or you can use the all for the whole table (it might perform slower with big data, really big)

I hope that helps,


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

Happy to help!

LaDataWeb Blog

View solution in original post

3 REPLIES 3
ibarrau
Super User
Super User

Hi. Using ALL to a single column it's asking to remove filters for that specific column when used. However, if you are using another column to filter the same table, it will filter the table. That's why Categoria sem número will filter the count of categoria even if there is an ALL Categoria. You can add the column to the all (you can use more than one column to the all) or you can use the all for the whole table (it might perform slower with big data, really big)

I hope that helps,


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

Happy to help!

LaDataWeb Blog

Hi there. Thank you very much. Here is the deeper explanation - Auto exist
 https://www.sqlbi.com/articles/understanding-dax-auto-exist/

campelliann
Post Patron
Post Patron

@ibarrau , could you help here mate? Many thanks 🙂

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.