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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
vpatel55
Kudo Commander
Kudo Commander

ALL not ignoring column filter

Using the following code, I'm trying to get ALL to ignore a column filter. It should mean that all the colum values should be exactly the same. However, the values are different and ALL does not seem to be working. If I add ALL on the whole table, then it does work. However, this would not be acceptable as that would also ignore my row filters, which I do not want.

 

Any ideas as to how I can ignore just the column name? I don't have any age page level or visual level filters. Thanks.

 

MeasureName =
CALCULATE (
    COUNTA ( tblJobs[ColumnName] ),
    ALL ( tblJobs[ColumnName] )
)

 

vpatel55_0-1657362275278.png

 

 

1 ACCEPTED SOLUTION

Hi, i'm afraid that the file is very big and contains sensitive data. In the end, I pasted into Excel and worked out manually. It could be a bug, as the code is otherwise what it should be. This will probably not have a solution, so feel free to delete the thread. Thanks.

View solution in original post

8 REPLIES 8
v-xiaotang
Community Support
Community Support

Hi @vpatel55 

Thanks for reaching out to us.

When I test, the all() function works ok, could you please share a sample file for us to check? Thanks

vxiaotang_0-1657598127096.png

 

Best Regards,

Community Support Team _Tang

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

Hi, i'm afraid that the file is very big and contains sensitive data. In the end, I pasted into Excel and worked out manually. It could be a bug, as the code is otherwise what it should be. This will probably not have a solution, so feel free to delete the thread. Thanks.

vpatel55
Kudo Commander
Kudo Commander

Thanks @Anonymous but same result i'm afraid, the column continues to filter.

Anonymous
Not applicable

Vpatel55,

 

Try to removefilters on postalcode, this is the last filter on your display ?

Thanks @Anonymous but same issue, in fact even if I remove PostcodeArea from the row axis, leaving just the column, it still filters by column (screenshot below). I'm not aware of any other filters at all. Its an odd one!

 

vpatel55_1-1657368059626.png

 

Anonymous
Not applicable

vpatel55,

 

last chance 🙂 

your 0,1,2... what is this field ? 

No problem @Anonymous , its a table of grouped numbers. The data type is decimal, but changing it to whole number doesn't change the result. My ultimate goal is produce a cumulative percentage. So that '1' is x% of the total, 2 is y% of the total, etc.

 

vpatel55_0-1657369100603.png

 

Anonymous
Not applicable

i,

 

Tyr this

MeasureName =
CALCULATE (
    COUNTA ( tblJobs[ColumnName] ),
    ALL ( tblJobs[ColumnName] ),removefilters(tblJobs[ColumnName] )
)

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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