Forum Discussion

analystict's avatar
analystict
Helper I
7 years ago
Solved

Circular dependency in a calculated column.

Hey there,   I have a table called Invoices which looks like this:   AccountID | Date | InvoiceID | Amount | ProductID | InvoiceNum | Product 1 | 02/12/01 | 153452C | 500 ...
  • Nolock's avatar
    7 years ago

    Hi,

     

    please could you post the error message? I've tried to build the same 2 tables and new computed columns like you have but I don't have any errors.

    The only thing I did additionally was adding another column InvoiceNumPackage3 which shows the Rank of InvoiceNumPackage2 only on rows which contains the Product 9.

     
    InvoiceNumPackage3 = 
    IF(
        Invoices[Product] = "Product 9"; 
        Invoices[InvoiceNumPackage2]; 
        BLANK()
    )