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 all,
I have a problem, i'm triyng to sum all the values in a table, except the ones in another table.
Example:
Table 1
A = 10
B = 10
C = 30
D = 30
E = 50
f = 60
Table 2
B
D
So, i want the sum of A, C, E, F
Is there any dax formula for this?
Thanks
Solved! Go to Solution.
Try this
Sum_Value = CALCULATE(SUM('Table_A'[Value]),
FILTER('Table_A','Table_A'[ID]<>RELATED(Table_B[ID])))
Thanks
Raj
Try this
Sum_Value = CALCULATE(SUM('Table_A'[Value]),
FILTER('Table_A','Table_A'[ID]<>RELATED(Table_B[ID])))
Thanks
Raj
@Anonymous Do you have any idea why there is apostrophe'' for 'Table A' but nothing for Table B
which I could not refer to my Table B in your provided formula
@Anonymous Here is the similar model I am working on. I find that I could not put Table B in the formula
Thanks Raj
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |