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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Post Prodigy
Post Prodigy

How to Get totals on a filtered visual?



I have a table called events.  I have filtered it so that only the last 7 days will be displayed.  However, I want to show all the events in the past 7 days just like the table, and then show the Total amount of Events for that specialist. The measure though, shows the total amount of events for all specialists.  How can I show the total # of events per specialist ignoring the filter on the visual?






Community Support
Community Support

Hi @lcasey ,


It may be that the filter criteria are not applied to the correct column. Try a formula similar to the following, where column refers to the filter condition that only keeps the selected column.

Measure = COUNTROWS(ALLEXCEPT('Table','Table'[Column1]))

If the basis is confused, can you provide a test data model (delete sensitive information) so that I can do further testing.

Best Regards,

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

Super User
Super User

@lcasey You need to replace your ALL with ALLSELECTED or something similar.

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

I tried your suggestion but the total always remains the smae for all specialists.  It is providing the correct Total Number of events, but I want to see that total broken out by the specialist.

Helpful resources


Fabric certifications survey

Certification feedback opportunity for the community.


Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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