Forum Discussion
Anonymous
5 years agoNot applicable
Dynamic column based on slicer selection
Hi I have a list of company names and their blinded company names as below. If i put the name in slicer and selected a value(let it be "ABC"). The output in the column should be ...
v-luwang-msft
5 years agoCommunity Support
Hi Anonymous ,
You could use the following measure:
Output =
VAR test1 =
CONCATENATEX ( VALUES ( 'Slicer'[name] ), [Name], "," )
VAR test3 =
MAX ( 'Table'[Name] )
VAR test2 =
SEARCH ( test3, test1,, 0 )
VAR test4 =
IF ( test2 > 0, MAX ( 'Table'[Name] ), MAX ( 'Table'[Blinden Name] ) )
RETURN
test4
Final get the below:
If you choose one value:
If you choose multiple values:
You could download my pbix file if you need!
Best Regards
Lucien
- Anonymous5 years agoNot applicable
Hi v-luwang-msft
You created a measure to get the expected output where i need the same funtionality in Column.
So that i can use this in column of stacked chart.
Thanks
Mahesh R