Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello,
If I have a simple table like this, where amount is a measure. What is the DAX to get the total of column Amount excluding that row?
As you can see, the What If Amount is just the total (194) less the amount for each person. But I can't figure this out and it must be something simple.
| Name | Amount | What If Amount |
| A | 22 | 172 |
| B | 20 | 174 |
| C | 38 | 156 |
| D | 40 | 154 |
| E | 12 | 182 |
| F | 34 | 160 |
| G | 28 | 166 |
| H | 0 | 194 |
| Total | 194 |
I did the calculation with something like this:
Solved! Go to Solution.
Hi @rawiswarden
try a measure like
Measure =
calculate(sum(Table4[Amount]);FILTER(ALL('Table4');Table4[Name]<>SELECTEDVALUE(Table4[Name])))do not hesitate to give a kudo to useful posts and mark solutions as solution
Hi @rawiswarden
try a measure like
Measure =
calculate(sum(Table4[Amount]);FILTER(ALL('Table4');Table4[Name]<>SELECTEDVALUE(Table4[Name])))do not hesitate to give a kudo to useful posts and mark solutions as solution
Awesome! Selected value is what I needed to know.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 68 | |
| 57 | |
| 42 | |
| 42 | |
| 30 |