The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |