Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone, 'ALL' function is not working when using the Count as below:
=CALCULATE(COUNT('WorkTickets'[Ticket Number]),ALL('WorkTickets'[ Status]))
I am using page filter 'Satus' as well. I tried different ways, Please advise.
countx(FILTER('WorkTickets',ALL(WorkTickets[Status])),WorkTickets[Ticket Number])
Solved! Go to Solution.
Hi, @titanic123 ;
I make a simple data then test it , it works fine . so is your data affected by other tables or data?
1.original table.
2.count it .
count = CALCULATE(COUNT('Table'[Ticket Number]),ALL('Table'[Status]))
The final output is shown below:
The '3' is a correct result, if not work, then is show '2'.
so can you share me a simple data which can help understand the specific reasons and further discussion?
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @titanic123
Download sample PBIX with the following data and code
You didn't initially say what your page filter for Status was doing, or how many status types you have. Always best to supply some sample data so we can better understand.
With this measure
Count All Tickets = CALCULATE(COUNTROWS('Work Tickets'),ALL('Work Tickets'[Status]))
and this sample data, I don't have an issue
Please supply your data and/or PBIX file so I can check further.
Regards
Phil
Proud to be a Super User!
Hi, @titanic123 ;
I make a simple data then test it , it works fine . so is your data affected by other tables or data?
1.original table.
2.count it .
count = CALCULATE(COUNT('Table'[Ticket Number]),ALL('Table'[Status]))
The final output is shown below:
The '3' is a correct result, if not work, then is show '2'.
so can you share me a simple data which can help understand the specific reasons and further discussion?
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Phil, As I explained I have page filter for Status ='Active' and I am trying to get all status tickets count in the measure.
Hi @titanic123
How is it not working? Can you please be specific about what you are trying to do and what you expect as a result.
Please supply sample data too.
Regards
Phil
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
65 | |
63 | |
53 | |
39 | |
26 |
User | Count |
---|---|
85 | |
57 | |
45 | |
44 | |
36 |