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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have to create dax for a country with sales but I want that especially this field (dax) won't affect by any slicer, it should be fixed.
what dax should I write?
and also if I want only Europe Margin and that won't be changed by any slicer. for this what dax should I write?
Solved! Go to Solution.
@Anonymous , Try a measure like
calculate(sum(Table[Value]), filter(all(Table[Country]), Table[Country] in {"Germany", "Holland"}))
or
calculate(sum(Table[Value]), filter(all(Table), Table[Country] in {"Germany", "Holland"}))
@Anonymous , Try a measure like
calculate(sum(Table[Value]), filter(all(Table[Country]), Table[Country] in {"Germany", "Holland"}))
or
calculate(sum(Table[Value]), filter(all(Table), Table[Country] in {"Germany", "Holland"}))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 33 | |
| 32 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 96 | |
| 77 | |
| 67 | |
| 65 |