Created Calculated Column based on a string of relationships RRS feed

  • Question

  • Hi,

    I want to create a calculated column called Division Name in my Booking table. I need the Division Name to appear in this table for reasons that would take a while to explain.  Anyway the Booking table has a BookingID that has a relationship to the Order table that also has the BookingID.  The Order Table has a relationship to the Division table through the Division ID.   I am trying to figure out how to write the calculated column expression.  Here are the relevant column and table names.  Can someone help?  Thanks, 

    Division Name = LOOKUPVALUE(



    Monday, May 6, 2019 3:08 PM

All replies

  • The answer to the completely depends on the cardinality of your relationships. If a Booking has 1 Order and an Order has 1 division and your relationships look like the following:

       Division  1-->--*  Orders 1-->--* Booking

    Then you can use a formula like the following in the Booking table:

       Division Name = Related(Division[DivisionName] )

    However if your relationships look like the following:

       Division  1-->--*  Orders *-->--1 Booking

    then a booking could belong to multiple orders, each of which could belong to a different Division so it's not technically possible to guarantee a single value for a division. 

    http://darren.gosbell.com - please mark correct answers

    Tuesday, May 7, 2019 12:07 AM