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 |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 25 |
| User | Count |
|---|---|
| 124 | |
| 90 | |
| 70 | |
| 68 | |
| 66 |