Forum Discussion
Lauraeire_81
1 year agoHelper I
Display categories in table
Hi I am looking to display the Countries listed depending on what food items are selected in a slicer (where multiple options can be selected). Say 'Hot Dogs', 'Corn dogs' and 'Stew' are selected,...
- 1 year ago
Hi Lauraeire_81 Try this please
SelectedFoodSummary = VAR SelectedFoods = VALUES('CountryFood'[Food]) VAR Result = CONCATENATEX( SELECTCOLUMNS( FILTER('CountryFood', 'CountryFood'[Food] IN SelectedFoods), "Summary", 'CountryFood'[Food] & " found in " & 'CountryFood'[Countries] & "." ), [Summary], " Count of " & COUNTROWS(FILTER('CountryFood', 'CountryFood'[Food] IN SelectedFoods)) & ". ", UNICHAR(10) ) RETURN Result
v-echaithra
1 year agoCommunity Support
Thanks Akash_Varuna for Addressing the issue.
we would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If the above response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.
Regards,
Chaithra.