Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Lookup Help please

Hello,   I have two data tables, each with Account Names and Revenue numbers. Some of the accounts are "special" and are called "AMSI" or "CMA", so I have a lookup table with these accounts with th...
  • v-juanli-msft's avatar
    8 years ago

    Hi

    Create a table containing all Account names from all tables

    Table =
    GROUPBY ( UNION ( Sheet2, Sheet3, Sheet4 ), [ Account Names] )

    Add a column to define if they are "AMSI", "CMA" or"Other".

    Column 2 =
    IF (
        ISBLANK ( RELATED ( Sheet1[Account Name] ) ),
        "others",
        RELATED ( Sheet1[Account Name] )
    )

    In table visual

     

     

    Best Regards

    Maggie