Forum Discussion
Dudeman
5 years agoHelper I
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...
- 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.
v-yalanwu-msft
5 years agoCommunity Support
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.