Forum Discussion
Justas4478
Post Prodigy
2 years agoFiltering measures with slicers
Hi, I have this measure: Hours for Absence = CALCULATE( SUM('System Work Hours'[Hours Total]), 'System Data'[Absence] IN { "Authorised Absence", "Bank Holiday", ...
- 2 years ago
Justas4478 , I really do not know you need filter in this case. But trylike
Hours for Absence =
CALCULATE(
SUM('System Work Hours'[Hours Total]),
Filter( 'System Data', 'System Data'[Absence] IN {
"Authorised Absence",
"Bank Holiday",
"Holiday",
"Maternity/Paternity",
"Sickness",
"Unauthorised"
}
))if it works - Difference in filtering data in CALCULATE with and without FILTER? - https://youtu.be/KDcmzwgPvXQ
Ideally this should work
SUM('System Work Hours'[Hours Total])
Anonymous
2 years agoNot applicable
You do not need the filter in the Calculation. The table will work if you just use:
Hours for Absence = SUM('System Work Hours'[Hours Total])
The slicer will filter the table just fine for this.
The slicer will filter the table just fine for this.