Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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])
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |