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
Anonymous
Not applicable

Ignore visual filter for a chart

Hello 

A have a flat data table related to some running times and postions example of it is below

 

RaceNumberPositionTime(mins)Name
1120Bob
1221John
1322Jane
2118Sally
2219Tim
2323Anne

 

I am trying to a get distribution of the time (mins ) columns based on the postion the runners comes 

 

example something like this

question.jpg

I have a filters on the page for racenumber and position. For this i want the filter on the racenumber to be ignored

 

My measure for

Total runs = 

CALCULATE(COUNTROWS('All Race Data'),
ALLEXCEPT('All Race Data','All Race Data'[RaceNumber]))
 
Can someone help me out with what i am doing wrong
4 REPLIES 4
dedelman_clng
Community Champion
Community Champion

Hi @Anonymous  - try moving the filter on your table inside the COUNTROWS function

 

Total runs =
CALCULATE (
    COUNTROWS ( ALLEXCEPT ( 'All Race Data', 'All Race Data'[RaceNumber] ) )
)

 

If that doesn't work, please share your pbix with sensitive data removed.

 

Hope this helps

David

Anonymous
Not applicable

@dedelman_clng Thanks for your suggestion but it did not work

 

example.JPG

This is what i currently have. I want it to see the mintue distribution for any selected overall position, i don't want the racenumber filter to have any effect on the visual. I understand i can use edit interactions - just hoping to find a dax solution

 

Here I am using the measure 

Total Runs = COUNTROWS(AllRaceData) 
which works - provided you have all racenumbers selected
 
I have tried your suggestion
Total Runs ALL =
CALCULATE (
COUNTROWS ( ALLEXCEPT ( AllRaceData, AllRaceData[RaceNumber] )
))

 

But it didn't work

 

I have an editted version of the pbix as you have suggested. 

I can't figure out how to upload it here?

 

Hi @Anonymous - as far as the report file goes, put it on a sharing site (onedrive, google, Dropbox, etc) and provide the link in your post. 

David

Anonymous
Not applicable

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.