Forum Discussion

Dudeman's avatar
Dudeman
Helper I
5 years ago
Solved

fixing circular reference in calculated column

Hello.    I'm getting a circular reference I can't figure out how to fix when creating a calculated column version of a calculated measure. Here is my workbook Airport code workbook (wetransfer li...
  • v-yalanwu-msft's avatar
    5 years ago

    Hi Dudeman   ;

     

    When you use Live connection, you can not add columns,  So maybe you could try to modify the MaxArrival2 column by the following formula:

    MaxArrival2 =
    CALCULATE (
        MAX ( 'Legs'[arrivalTime] ),
        FILTER (
            ALL ( 'Legs' ),
            [BookingNumber] = EARLIER ( [BookingNumber] )
                && [ArrivalDate] = EARLIER ( [ArrivalDate] )
        )
    )
    

    The final output is shown below:  

    Best Regards,
    Community Support Team_ Yalan Wu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.