Forum Discussion
Running Total to Ignore Specific Filter
- 10 years ago
Can you add a clause to the CALCULATE function with ALL(Table[Column]) with whatever column the slicer is based on?
Can you add a clause to the CALCULATE function with ALL(Table[Column]) with whatever column the slicer is based on?
jahida Thanks for the suggestion, and initially it wouldn't work. But I just modified the original to:
RunningGradTotal2 = CALCULATE(CALCULATE(DISTINCTCOUNT(DegreeConferred[StudentID]),FILTER(ALLSELECTED(DegreeConferred),DegreeConferred[TERM_END_DATE]<=MAX(TermInfo[TERM_END_DATE])),VALUES(CohortOriginal)),ALL(TermInfo[Semester]))
And now that's working. I wasn't aware that you could nest multiple CALCULATE() statements together, but it looks like that makes sense. It the equation ignores the Semester filter I have set at the Page level and still gives me my correct Running Total.
Thanks for the assist!
- MWinter2257 years agoAdvocate IV
Anonymous This helped me a lot thanks!