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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Creating relationship with both same date format

Dear PBI gurus,

 

I'm trying to establish relationship with 2 date columns in from separate 2 tables. Both has same format. I would like to relate both these dates column so when I set the slicer on a monthly or yearly basis, it can able to populate data accordingly from both column. 

 

Every time I'm trying to create a relationship it breaks the slicer that I have set. I've set a slicer on yearly data (2019, 2020) and after I set the relatipnship the slicer break.

 

How can I achieve this?

 

Many thanks. 

1 REPLY 1
Stachu
Community Champion
Community Champion

the easiest way would be to create a new Calendar table, and creating 1:many relationships to your data tables. This way when you create a slicer based on the Calendar table it will propagate the filter to both of them



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.