Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

RELATED function and relationships between tables

Hi ! I'm beginning on Power BI and I have a problem that keeps arising. I have a central table and other tables that gravitate around it, with many to 1 relationships from the central table to th...
  • v-zhenbw-msft's avatar
    v-zhenbw-msft
    6 years ago

    Hi Anonymous ,

     

    Do you want to create a date column in Drop table based on Date column in ShipDetails table?

    If it is yes, please refer the following formula.

    Create a calculate column in Drop table,

     

    Column = CALCULATE(MAX(ShipDetails[Date]),FILTER(ShipDetails,ShipDetails[ID]=Drops[ID]))

     

     

    If it doesn't meet your requirement, could you please show the exact expected result based on the table that we have shared?

    BTW, pbix as attached.

     

    Best regards,

     

    Community Support Team _ zhenbw

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.