Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Two dependent date slicers

Hi Experts,

we have a requirement regarding slicers for date dimension.

Want to have two slicers for Period type, Period

Period type should have values like "Yearly", "Quarterly", "Monthly". Based on the period type selection, Period slicer should be populated. For example, if Period type "Yearly" is selected, then Period slicer should show values like 2019,20018, 2017. If "Monthly" is selected then Jan 2019, Dec 2018 etc. Similarly if Period type = "Quarterly" then Period should be Jan-Mar2019, Oct-Dec 2018 etc.

Please guide,  how can we acheive this type of functionality.

 

Thanks

 

2 ACCEPTED SOLUTIONS
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

a first idea, create bookmarks (buttons) with which you can show and hide corresponding slicers .

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


View solution in original post

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

You may download my PBIX file from here.
Hope this helps.

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


View solution in original post

5 REPLIES 5
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

has your question been answered?

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Anonymous
Not applicable

Thanks @mwegener for your help.

I am trying to understand your solution. I have some doubts.

We already have a Date table coming from source, do you mean to create a new table, or unpivot some columns from our Date table. would appreciate if you can share any example.

Many thanks.

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

You may download my PBIX file from here.
Hope this helps.

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


JarroVGIT
Resident Rockstar
Resident Rockstar

Well, this will take some work but it is possible. First you need to make a table like this:

image.png

THen, create a slicer based on DateType and another on Date:

 

image.png

This is however the easy part! If you change DateType, your selection options in slicer Date changes accordingly. But how does this change the visual you want to show? Here comes the hard part. You will need to create measures for everything you want to show, and you will need to include hard logic like this (IF selectedvalue(DateType) = Month, <calculation with Month filter>) etc. I don't have an example table and I really need to get sleeping but if you can't figure it out then give me a shout out and I'll have a look tomorrow evening.

 

Let me know if this helps! (Y)

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

a first idea, create bookmarks (buttons) with which you can show and hide corresponding slicers .

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors