Forum Discussion
Pranali_R
2 years agoFrequent Visitor
All Function not working
CALCULATE(
SUM(Table[marks]),
FILTER(
Table,
Table[grades] = "Average"
),
ALL('Calendar'[year])
Why is my ALL('Calendar'[year]) not working, I want it to not be affected by this Calendar
year slicer
6 Replies
- Dangar332Resident Rockstar
Hi, Pranali_R
you use AlLL() as a calculate modifier which remove filter context not ignore outer filter
for ignoring outer filter you must usr ALL() as a table function.
for more dive in ALL() function refer HEREsumx( filter( all('table'), --- use as a table function so ignore outer filters table[grades]="Average" ), Table[marks] ) or CALCULATE( SUM(Table[marks]), FILTER( all(Table), Table[grades] = "Average" ) ) - Dangar332Resident Rockstar