Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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.
User | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
123 | |
101 | |
71 | |
61 |