Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

Datediff between date and minimum date

Hi,

 

I have two tables. First table contains workorder information. Second table contains material transations information. Join is on workorder ID and operation sequence number. I try to compare the release date from the workorder table with the MINIMUM transaction date from the materials transactions table. Return should be the number of days difference. For some reason I cannot compare both dates in the different tables, Power BI does not find direct relationship. Can anyone help?

 

Thanks in advance.

 

 

 

9 Replies

  • Uzi2019's avatar
    Uzi2019
    Community Champion

    Hi Anonymous 
    can you provide the sample data for both the tables??
    would be easier for us to give you proper answer.

    • Anonymous's avatar
      Anonymous
      Not applicable

      No sorry, it is confidential information.

      • Uzi2019's avatar
        Uzi2019
        Community Champion

        Hi Anonymous 
        No problem.

        Can you provide the just sample data take same no of columns and change the values of a columns. And share both the files just screen shot of 4 to 5 records.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Can anyone help? Thank you