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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
U156531
Post Patron
Post Patron

How to combine two date slicers into one

I have two date slicers using different date columns from the same table. The user is always going to select the same date from both so I need to combine these slicers into one. What is the best method to accomplish this? 

 

Thanks

2 REPLIES 2
rajendraongole1
Super User
Super User

Hi @U156531  - Add a new calculated column to your table that combines the logic of both date columns

 

CombinedDate = YourTable[DateColumn1]

 or second approach: 


Create one seperate date table

DateTable =
CALENDAR (
MIN(YourTable[DateColumn1]),
MAX(YourTable[DateColumn2])
)

 

at relationship part , Go to Model view.
Create a relationship between DateTable[Date] and YourTable[DateColumn1].
Create another relationship between DateTable[Date] and YourTable[DateColumn2].
Add Slicer:

Add a slicer using the DateTable[Date] field.


 Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





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

Proud to be a Super User!





I tried what you suggested but when I create a relationship between the  DateTable[Date] and YourTable[DateColumn1] the date hierachy seems to be eliminated.  I get the following error:

U156531_0-1716923042229.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.