Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I have a table with start date and end date columns.
I've created a calendar table using these two date columns using MIN and MAX from the two columns so I've effectively got the entire date range.
Can I create a single date slicer (between dates style) where the start and end date columns reflect the selection from the slicer? Do I need to create separate start and end date calendar tables and use two separate slicers?
Edit: I've created a man to one relationship between the end date column in the main table and the date column in the calendar table. This seems to create the effect I'm after for returning end date results in the end date column so I'm looking to add the start date column in a similar fashion.
Thank you.
Solved! Go to Solution.
Hi @Class66Loco ,
Yes, you can achieve this without needing two separate slicers for the start and end dates. Here's how you can set it up:
Single Calendar Table: Since you've already created a calendar table using the MIN and MAX from your start and end date columns, you're on the right track. Ensure this table has a continuous range of dates covering the entire span of both columns.
Relationships:
Single Date Slicer:
Dynamic Measures:
Selected Start Date = CALCULATE( MIN(MainTable[Start Date]), USERELATIONSHIP(Calendar[Date], MainTable[Start Date]) ) Selected End Date = CALCULATE( MAX(MainTable[End Date]), USERELATIONSHIP(Calendar[Date], MainTable[End Date]) )
Visuals and Logic:
This setup allows you to maintain a single slicer while still reflecting the selection in both the start and end date columns. Let me know if you need further clarification! 😊
Please mark this as solution if it helps. Appreciate Kudos
Hi @Class66Loco ,
Yes, you can achieve this without needing two separate slicers for the start and end dates. Here's how you can set it up:
Single Calendar Table: Since you've already created a calendar table using the MIN and MAX from your start and end date columns, you're on the right track. Ensure this table has a continuous range of dates covering the entire span of both columns.
Relationships:
Single Date Slicer:
Dynamic Measures:
Selected Start Date = CALCULATE( MIN(MainTable[Start Date]), USERELATIONSHIP(Calendar[Date], MainTable[Start Date]) ) Selected End Date = CALCULATE( MAX(MainTable[End Date]), USERELATIONSHIP(Calendar[Date], MainTable[End Date]) )
Visuals and Logic:
This setup allows you to maintain a single slicer while still reflecting the selection in both the start and end date columns. Let me know if you need further clarification! 😊
Please mark this as solution if it helps. Appreciate Kudos
Hi @Class66Loco
Please refer to the linked tutorial :
https://www.youtube.com/watch?v=pQ9eSnfAhnc
if it won't help please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.