- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I want to create a single date slicer that affects two charts that each use a different date column.
So I have a single page with two charts in it. Each chart is using a different date column (one chart is using "candy arrival date" column and the other is using "drink arrival date" column).
I want to create a year slicer and a quarter slicer that will affect both charts at the same time. How do I go about doing that? I've been trying to wrap my head around this and can't figure it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Pintobean80 ,
Hope you are doing well.
Please follow these steps:
1. First, two charts containing "candy arrival date" and "drink arrival date" were created.
2. Extracts the union of the year and quarter of the date columns of two tables.
3. Add two calculated columns to the candy table and drink table respectively, representing the year and quarter. This is so that we can better establish the relationship between tables when modeling data.
4. Perform data modeling and establish relationships between tables.
5. Add quarterResult and yearResult to the slicer respectively, and then you can filter based on year and quarter.
I would be grateful if you can reply to me at your earliest convenience.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I'm sorry, I should have mentioned that both of these date columns are on the same table. Would that change the approach you mentioned?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Pintobean80 ,
Thank you very much for your prompt reply.
I don’t quite understand something about the two dates you mentioned being listed in the same table. I would be very grateful if you could reply to me when you are free:
Are your two date columns the same date in each row? Or a different date?
If they are the same dates, filter one of the columns to achieve the effect you want.
If the dates in the two columns are different, I think I need to give you an example to explain my doubts:
If in the second row of the table, the candy arrive date is 12/31/2022, and the drink arrive date is 1/12/2021, when 2021 is filtered in the slicer, the candy arrive date will display the data for 2022, but you are The slicer does not filter out 2022, and the logic at this time is not smooth.
I would appreciate it if you could provide a copy of the Power BI Desktop file.
Looking forward to your reply and wishing you all the best.
Warm Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Pintobean80 , You need to create a date table with the required columns And join both dates(without timestamp) with that date table. Suppose they are from different tables. You can now use the Date Table columns in the slicer. If they are in the same table. one join will be inactive and you can use USERELATIONSHIPto enable another join
example
CALCULATE(SUM(Table[Value]),USERELATIONSHIP('Table'[Date],[Date])
examples of USERELATIONSHIP
Power BI: HR Analytics - Employees as on Date : https://youtu.be/e6Y-l_JtCq4
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
Power BI HR Active Employee Tenure Bucketing, and Hired, Terminated, and Active employees: https://youtu.be/fvgcx8QLqZU
Date Table
https://community.powerbi.com/t5/Community-Blog/Creating-Financial-Calendar-Decoding-Date-and-Calend...
https://medium.com/chandakamit/cheat-sheet-calendar-of-any-standard-month-just-one-variable-apart-5e...
https://amitchandak.medium.com/cheat-sheet-power-query-financial-year-calendar-5ceaacb520f1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Both dates are on the same table. Would that complicate things?

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
07-18-2024 12:30 PM | |||
10-04-2023 11:37 AM | |||
03-07-2024 07:37 AM | |||
03-20-2024 01:56 AM | |||
07-10-2024 02:08 PM |