Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have table A and table B. They are related via the fields tableA(dayOff) and tableB(value). dayOff is a calculated column and value column is built from a calculated table B.
I tried several approaches to try to get 'value':
1)calculated column in table A: RELATED(table B[value])
I get error: the column table[value] either doesnt exist or doesnt have a relationship to any table available in the current context. Table A is the many side and table B is the one side. I can clearly see and select table[value] in the RELATED function.
2)in a measure
Solved! Go to Solution.
@richbenmintz
So from reading through forums, the issue is with mix table types and there seems to be a bug using relate when having directquery and other types of tables. Thanks.
minx(tableB, related(tableB[value])
With above syntax youre already iterating the table. So the related function is not needed. If multiple values are returned you might need an arregation.
Hi @wpf_ ,
Can you please provide some sample data?
Proud to be a Super User!
@richbenmintz
So from reading through forums, the issue is with mix table types and there seems to be a bug using relate when having directquery and other types of tables. Thanks.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |