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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.