Forum Discussion
jeffjenkins
5 years agoFrequent Visitor
multiple filters without cross interaction
Hi - trying to calculate medians for one category of data in a single location & in all location (why can't I include a pbix here?). Screenshot not super helpful probably. my data has 4 columns & I'...
- 5 years ago
I modified your measure [FltMdnDuration] with regard to the last argument. Instead of using FILTER for the entire table, it now filters only [duration].
FltMdnDuration = CALCULATE ( MEDIAN ( dummydata[duration] ), ALL ( dummydata[sitekey] ), dummydata[duration] > 0 )It's best practice to use explicit measures, so I changed Median of Duration to a measure instead of using Median in the field dropdown.
Median of Duration = MEDIAN ( dummydata[duration] )When I put these two measures into a visual with interactions enabled for both slicers, I get this:
Is this correct?
DataInsights
5 years agoSuper User
I wasn't able to access the pbix ("<email address> can't be found in the mybpl-my.sharepoint.com directory").
jeffjenkins
5 years agoFrequent Visitor
maybe my google drive will work (if you still have time to look at it):
https://drive.google.com/file/d/19ETvTvOkCLqPaJqYgF5pqQIQL0RTApoB/view?usp=sharing