Forum Discussion
FILTER() makes USERELATIONSHIP() superfluous?
- 4 years ago
The relationships are not being used with the way your calculated columns are written. Since there isn't a CALCULATE transforming the row context to filter context, Table A isn't filtered by Table B except as you explicitly define the filter, so which relationship is active doesn't affect the calculation.
This wouldn't work (and couldn't be written) quite the same way if these were measures instead of calculated columns.
Thanks for the feedback. I worded that in a misleading way: I didn't mean that USERELATIONSHIP was generally redundant. I just had the impression that it would seemingly not be necessary in this context of the FILTER function. Is that correct?
- AlexisOlson4 years agoSuper User
The relationships are not being used with the way your calculated columns are written. Since there isn't a CALCULATE transforming the row context to filter context, Table A isn't filtered by Table B except as you explicitly define the filter, so which relationship is active doesn't affect the calculation.
This wouldn't work (and couldn't be written) quite the same way if these were measures instead of calculated columns.