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...
Dangar332
2 years agoResident 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 HERE
sumx(
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"
)
)