Forum Discussion
Overall data measure using allexcept
Hi Guys!
I am trying to create an overall measure which looks at the data which we are currently looking at on the dashboard vs. the entire set of data that we have.
It will be used to extrapolate the accuracy which we show on the dashboard, to the entire set.
The only filter which it should include is the datefilter as I would like to see what are the total rows within this time period vs. what aree the rows we are looking at on the dashboard currently.
My formula looks something like this:
- Anonymous4 years ago
ryan_ward
We can use Allexcept in calcuate columns, but to create a measure try use the following filter.CCD view measure =var ccd_count = CALCULATE(COUNTROWS('Customs Clearance Document'),Filter(Allselected('Customs Clearance Document','[Date Filter]=MAX([Date Filter]))var ccd_in_view = [Total CCD Count]RETURN ccd_in_view/ccd_countPaul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
4 Replies
- amitchandak
Super User
ryan_ward , here ccd_count should only consider filter and context of Customs Clearance Document'[Date Filter]
if you do not want any filter then use all
- ryan_wardNew Member
Hi amitchandak Thank you! The only filter that the ccd_count should consider is the date filter, all other filters should not affect the denominator value at all. In this way we can filter the denominator value by the date, while the numerator value will be affected by all filters on the dashboard. Sorry if I did not understand your response.
- AnonymousNot applicable
ryan_ward
We can use Allexcept in calcuate columns, but to create a measure try use the following filter.CCD view measure =var ccd_count = CALCULATE(COUNTROWS('Customs Clearance Document'),Filter(Allselected('Customs Clearance Document','[Date Filter]=MAX([Date Filter]))var ccd_in_view = [Total CCD Count]RETURN ccd_in_view/ccd_countPaul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.- ryan_wardNew Member
Amazing! Thank you so much to everyonewho has assisted with this! 🙂