0

For a multi page report I'd like to put all synchronised slicers on the first page and then show the selection result on cards in all aother pages.
I followed this tutorial by Curbal: https://www.youtube.com/watch?v=_k_Qxb6pyCc
This works for selecting numbers. But....
I have text in the selectable fields. So how do I return multiple selected strings from a slicer? I hope it's just a small thing that I'm missing. [edit] Here's two images: First page with slicers Second page with visuals and cards based on the selection on page one.

Kind regards,

Erik Crins

1
  • Can you show image of what you are trying to do? Commented Dec 8, 2021 at 9:04

1 Answer 1

0

There is a function that aggregates the values in a table - CONCATENATEX

https://learn.microsoft.com/en-us/dax/concatenatex-function-dax

If you want to show all the values selected in a slicer on a card you can use it like this:

Text = CONCATENATEX(ALLSELECTED(Slicer[Field]), [Field], ", ")
Sign up to request clarification or add additional context in comments.

5 Comments

THanks for the suggestion I'll try it!
So I had: Slicer teams = VAR selectedTeam= ALLSELECTED(Team[Team]) Return FILTER(Team, Team[Team] IN selectedTeam) And now I have: Slicer teams = VAR selectedTeam= ALLSELECTED(Team[Team]) Return FILTER(Team, Team[Team] IN selectedTeam)
the 2 expressions are exactly the same
sry I edited for too long... Your suggestion worked like a Charm!
Please accept the answer if it resolves the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.