Forum Discussion

SRdeveloper's avatar
SRdeveloper
New Member
3 years ago

How to do relationship for tables?

Dear Experts,

Can anyone help me, please? I got 5 tables which is not related to Dim_Week table. Can I do relationship StartDate of Dim_Week table to Fact_OrderHeader table? As highlighted with blue color in below data model and also given below data tables. Do I need to create any separate measure column to do relationship then how to do, please?

 

 

 

Hope you can understand as shown pictures above? If you need more details, please let me know.

 

Thanks

SR

 

2 Replies

  • Hi SR,

     

    You should just be able to create a relationship in the data model view, by dragging and dropping the field the start date field, onto the order date field. Is this not working for you?

     

    Regards,

    Pi

    • SRdeveloper's avatar
      SRdeveloper
      New Member

      Hi Pi_eye,

      Thank your so much for your reply. 

      Yes, I tried and it is connecting but not sure can I do this because of data. 

      I just wanted to know whether is right or wrong .

      Kind regards,

      SR