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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors