Forum Discussion
Remove Duplicate Values using CONCATENATEX and Direct Query
- 2 years ago
Dangar332 I figured out the issue. It had something to do with the ordering of the relations to tables in the Model View - I shortened the path and it started working correctly using the following DAX:
List of BMP observations =VAR __DISTINCT_VALUES_COUNT = DISTINCTCOUNT(FindingsFacilityVisualList[bmpObs])RETURNCONCATENATEX(DISTINCT(FILTER(FindingsFacilityVisualList,FindingsFacilityVisualList[bmpObs] <> BLANK())),FindingsFacilityVisualList[bmpObs],", ")
hi, HoppeG76
this function not support with direct query
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
try to use in measure form
check official site of microsoft HERE
and check this HERE
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dangar332 I figured out the issue. It had something to do with the ordering of the relations to tables in the Model View - I shortened the path and it started working correctly using the following DAX: