The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
25 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
10 | |
10 | |
10 | |
9 |