Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

How to generate a dynamic slicer from different columns

Hi all,
I'm working on a new PowerBI report, and I have trouble developing a dynamic slicer.
Let say I have a table named ProjectReference:

Project NameYear 1Year 2Year3
Pjt 46202420252026
Pjt 57202520262027

 

I have on my page a slicer based on Project Name column.

Is there a way to have a second slicer who would display values of columns Year 1, Year 2 and Year 3 according to what is selected on the first slicer ?
For example, if on my first slicer I select Pjt 46, I woud like to see on my second slicer a list with 3 values : 2024, 2025 or 2026, wich can be selected to filter other data.

Thank you in advance for your help.
Regards,
Alice

4 Replies