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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
example of tables
Table a | |||||
Date | A | Region | Site | table b key | table c |
1/01/2014 | 1 | a | 2 | 1 | 1 |
2/01/2014 | 2 | b | 3 | 2 | 2 |
3/01/2014 | 1 | a | 4 | 3 | 3 |
Table b | |
key | b |
1 | 2 |
2 | 2 |
3 | 1 |
table C | |
key | c |
1 | 260 |
2 | 400 |
3 | 260 |
the result im exspecting is 3 sum (table a ,A)
Hi, @SLeepyhead
Here are my thoughts, maybe you can try the following DAX:
CALCULATE(
SUM(table a[x]),
FILTER(
ALL(table a),
RELATED(Table b[y]) <> "1"
),
FILTER(
ALL(table c),
NOT RELATED(table c[c]) IN {"260", "261", "262", "263"}
)
)
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data)
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
10 | |
8 | |
5 | |
5 | |
4 |