Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
hi everyone
im trying to create a measure that remove the conext filter in a table visual with if statement condition
i was trying to use 'all' function to remove the filter from the column but still not working.
current measure : calculate(sum('categories trans'[achievement]), all('categories trans'[Base_type])
in the above example , i want to ignore the filter by (base_type) column in one category (zeed) and keep it for the other categories.
for example:
if category= 'zeed' i want the achievement measure to return 441 and for other categories i want the achievment measure to return same values above.
Hi @lawadaa
please try
Achievement Measure =
SUMX (
VALUES ( 'categories trans'[categories summarize] ),
IF (
'categories trans'[categories summarize] = "Zeed",
CALCULATE (
SUM ( 'categories trans'[achievement] ),
ALL ( 'categories trans'[Base_type] )
),
CALCULATE ( SUM ( 'categories trans'[achievement] ) )
)
)
If category = "zeed,
Calculate(sum(your column),allexcept(table,category column)),
Sum(measure)
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |