Unable to Set Relationship with Date Table with Multiple Table in Power BI

Jigar Panchal

New Member
Joined
Jan 8, 2020
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
I have just started using Power BI.

I have created below tables:

1. Date Table
2. Purchase Table
3. Sales Table
4. Purchase Return Table
5. Sales Return Table
6. Scrap Table

All tables are having a field of "Date". I want relationship of Date Table with ALL other tables as "Date" field is common in all tables.

Power BI is not allowing to do so. It is showing dotted line.

Please guide me where I am doing mistake.



1578488243613.png
 

Attachments

  • 1578488192143.png
    1578488192143.png
    156 KB · Views: 20

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
As you already know, PowerBI allows you to create only one active (direct or indirect) relationship between two tables. I suggest two solutions:

1) Remove DateTable completely (if I understand your data set correctly, you only need it for "Month Name" column - these fields can be easily added to other tables using DAX or M language).

2) Load DateTable and then use USERELATIONSHIP formula in your reports to force the relationship between two tables - see USERELATIONSHIP DAX function for more info.
 

Attachments

  • 1578572875839.png
    1578572875839.png
    7.2 KB · Views: 43
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top