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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
imrangaslam
Frequent Visitor

How to do relation between two tables

Hello

I have these two tables. How I can do relationship so I can use for different reports in power bi.

I tried to use date table and did 1 to many but not good.

 

Table1(Date)

         Date Table (Date)

Table2(Date)

 

Any possibility to connect both table directly.

 

Thanks

 

Table1

YearMonthDevice categoryUser typeDateChannel groupSessionsRevenueOrders
20202DesktopNew Visitor01/02/2020Organic Search15500
20202DesktopNew Visitor01/02/2020Paid Search4500
20202DesktopNew Visitor01/02/2020Referral813.491
20202DesktopNew Visitor01/02/2020Social900

 

Table2

YearMonthDevice categoryUser typeProduct nameDateChannel groupProduct BrandProduct Category (Enhanced Ecommerce)RevenueOrders
20201DesktopNew VisitorBitzy Biter Teething Ball & Training Toothbrush - Lemon Drop22/01/2020Organic SearchItzyRitzySilicone Teethers14.991
20201DesktopNew VisitorBitzy Biter Teething Ball & Training Toothbrush - Lemon Drop26/01/2020Paid SearchItzyRitzySilicone Teethers14.991
20201DesktopNew VisitorBitzy Biter Teething Ball & Training Toothbrush - Lemon Drop30/01/2020Organic SearchItzyRitzySilicone Teethers14.991
1 REPLY 1
Jimmy801
Community Champion
Community Champion

Hello @imrangaslam 

 

whats the problem to connect them through a date-table?

This is the way to connect a many to many relationship

 

If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too

Have fun

Jimmy

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.