Forum Discussion

Daniel48's avatar
Daniel48
Icon for Helper I rankHelper I
2 years ago
Solved

Union three columns across three tables

Hello,    Is it possible to create a column that only has distinct values from 3 columns on 3 different tables. I found the formula below but it keeps giving me errors.   Thank you in advance! ...
  • lbendlin's avatar
    lbendlin
    2 years ago

    try this

     

    Master Policy Table =
    FILTER (
        DISTINCT (
            UNION (
                VALUES ( 'policy finance_Initial'[policy_uniqueid] ),
                VALUES ( 'policy finance_target'[policy_uniqueid] ),
                VALUES ( 'policy premium'[policy_uniqueid] )
            )
        ),
        [policy_uniqueid] <> BLANK ()
    )