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
Hi,
I have the following data and need a measure that excludes the intersection of Account "A2" and Branch "Br1". The sum of the measure should therefore = 100 for the two months.
Account
| A1 |
| A2 |
| A3 |
Branch
| Br1 |
| Br2 |
BranchAccountMonthAmount
| Br1 | A1 | Jan | 10 |
| Br1 | A2 | Jan | 1000 |
| Br1 | A3 | Jan | 10 |
| Br2 | A1 | Jan | 10 |
| Br2 | A2 | Jan | 10 |
| Br2 | A3 | Jan | 10 |
| Br1 | A1 | Feb | 10 |
| Br1 | A2 | Feb | 1250 |
| Br1 | A3 | Feb | 10 |
| Br2 | A1 | Feb | 10 |
| Br2 | A2 | Feb | 10 |
| Br2 | A3 | Feb | 10 |
Thank you in advance.
Solved! Go to Solution.
Hi @_Kevin_ ,
Please try following DAX to create a measure:
SumAmount = CALCULATE(SUM('Table'[Amount]),FILTER('Table', 'Table'[Account] <> "A2" || 'Table'[Branch] <> "Br1"))
The result you want:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @_Kevin_ ,
Please try following DAX to create a measure:
SumAmount = CALCULATE(SUM('Table'[Amount]),FILTER('Table', 'Table'[Account] <> "A2" || 'Table'[Branch] <> "Br1"))
The result you want:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@_Kevin_ Maybe:
Measure =
SUMX(FILTER('Table',[Account] = "A2" && [Branch] = "Br1"),[Amount])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 20 | |
| 12 | |
| 11 |