Skip to main content
cancel
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.

Reply
lcasey
Post Prodigy
Post Prodigy

How to Get totals on a filtered visual?

Hello,

 

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?

 

THanks

1.png

 

 

3 REPLIES 3
v-henryk-mstf
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,
Henry


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

Greg_Deckler
Super User
Super User

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


Follow on LinkedIn
@ 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

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.