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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ruprizal
Frequent Visitor

Date slicer

Hi I am trying to slice my report using created on date as drop down. For successfully filtering other parts of the report based on particular date selected from the dropdown, do I need to have a physical relationship between the slicer date and some other date in the other tables? Or does the slicer filter automatically as long as there is any relationship between associated tables?

 

1 ACCEPTED SOLUTION
drewlewis15
Solution Specialist
Solution Specialist

Best practice is to always create a calender table with a list of unique dates and relate all tables to that calendar table using the date field within each table.  Then, use the date from your calendar table in the slicer. 

 

Here is a link on how to create a dynamic calendar table: https://www.powerquery.training/portfolio/dynamic-calendar-table/

View solution in original post

2 REPLIES 2
drewlewis15
Solution Specialist
Solution Specialist

Best practice is to always create a calender table with a list of unique dates and relate all tables to that calendar table using the date field within each table.  Then, use the date from your calendar table in the slicer. 

 

Here is a link on how to create a dynamic calendar table: https://www.powerquery.training/portfolio/dynamic-calendar-table/

That exactly answers what I was looking to confirm. 

Thank you. Resolved..

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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