- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

How to create a slicer based on another slicer?
How can I create a slicer that shows me the content of a table (name months) or another table (number week), depending on the selection of another filter. I want that the user can choose to see by months or by weeks. In case the user wants to see by months in the slicer only has to show the column mon_name of the table month, on the other hand if the user selects week it has to show week_num of the table Week.
To try to do this I have created an auxiliary table which can be selected between month or week and a measure that returns me which value is being chosen. But when I add this measure to the filters of one of the tables, the whole filter does not disappear but only does not show me the months that are not selected.
Thanks for your help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous , there is one option using field parameters
Power BI- Create dynamic slicers using field parameters: https://youtu.be/H2ZxWaHAJZQ
https://medium.com/@amitchandak/power-bi-power-bi-create-dynamic-slicers-using-field-parameters-202587d4dedb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Anonymous ,
I think this example may help you. Firstly I create two tables.
Next I create a measure.
Project Selected = IF ( SELECTEDVALUE ( 'T2'[Project Status] ) = "Completed", 1,0 )
Then put the measure into the visual level filter.
Finally you will get what you want.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It wasn't exacly this but thanks for the answer!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Anonymous , there is one option using field parameters
Power BI- Create dynamic slicers using field parameters: https://youtu.be/H2ZxWaHAJZQ
https://medium.com/@amitchandak/power-bi-power-bi-create-dynamic-slicers-using-field-parameters-202587d4dedb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the solution!

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
04-22-2024 09:49 AM | |||
09-08-2024 12:36 AM | |||
08-24-2023 01:20 AM | |||
08-22-2024 08:33 PM | |||
01-25-2024 10:20 AM |