Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Solved! Go to Solution.
You can do this:
Measure = CALCULATE(
SUM(Table[marks]),ALL('Calendar'[year]), Table[grades]="Average")
@JenniferWallace have you tried this?
If both tables are related, it should work
Hi, @JenniferWallace
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"
)
)
Hi @Dangar332 ,
I understand this issue, But the thing is, my filter table and calendar table is different, so how should i accomodate the filter from 2 different tables and use ALL as a table function
Hi, @JenniferWallace
try below
CALCULATE(
SUM(Table[marks]),
FILTER(
all('Calendar'),
X -- use column name which participate in relationship b/w tables(table and calender)
),
'table'[grades]="Average"
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |