Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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
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!!
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:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
76 | |
61 | |
37 | |
33 |
User | Count |
---|---|
99 | |
56 | |
51 | |
42 | |
40 |