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
Nick221_
Frequent Visitor

Building Relationships between Tables

I have two tables that both contain dates. Specifically, Month & Year. I want to add a slicer to be able to filter by Month and Year and it will update both tables accurately. I have built a Data table. I am trying to link both tables to the data table. However, It will not let me have two realtionships to the same data. How can I connect both tables to the data table?

Capture.PNG

1 REPLY 1
amitchandak
Super User
Super User

@Nick221_ , Create a date with help from month and year in both tables and join with date table, remove join between table

 

for text month

 

date = datevalue("01-"&[month]&"-"&[Year])

 

if month is number

date =  date([Year], [month], 1)

 

Power BI- DAX: When I asked you to create common tables: https://youtu.be/a2CrqCA9geM
https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.