Forum Discussion
how to display multiple selection values in table
I created a measure, it fails to display all the selected value, how to solve it?
data of this table:
- Anonymous2 years ago
The ALLSELECTED() function returns a table and the measure can only return a value, that's why the visual can not display.
Maybe you can try to use the CONCATENATEX() function to get the outcome, here I create a set of sample data:
Then I create a measure:
MEASURE = VAR _selectedValues = ALLSELECTED ( 'Table'[Values] ) RETURN CONCATENATEX ( _selectedValues, [Values], " " )The result is as follow:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
The ALLSELECTED() function returns a table and the measure can only return a value, that's why the visual can not display.
Maybe you can try to use the CONCATENATEX() function to get the outcome, here I create a set of sample data:
Then I create a measure:
MEASURE = VAR _selectedValues = ALLSELECTED ( 'Table'[Values] ) RETURN CONCATENATEX ( _selectedValues, [Values], " " )The result is as follow:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.