Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Multiple filter condition;
1) If I select 'Germany' it should return Profitsum value, if I select any other apart from 'Germany' it should return '0'
2) When I multiselect, along with Germany and some other country, it shold sum the 'Profitsum' value + 0
Solved! Go to Solution.
Hi,
Try this logic:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
Proud to be a Super User!
Hi,
Try this logic:
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
Proud to be a Super User!
@Umadhandapani , Try a new measure like
measure =
var _1 = countrows(allseleceted(Table[Country])
var _2 = countrows(filter(allseleceted(Table[Country]), Table[Country] = "Germany"))
return
Switch( tru(),
isblank(_2) , 0 ,
_2 =_1 = sum(Table[Profitsum])+0 ,
sum(Table[Profitsum])
)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 53 | |
| 42 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 123 | |
| 105 | |
| 44 | |
| 32 | |
| 24 |