We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
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!
Country = FILTER( DISTINCT(UNION(VALUES('4 - Data (CSAT)'[Country]), VALUES('4 - Data (Voice)'[Country]))), [Country] <> BLANK() )
Solved! Go to Solution.
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 ()
)
Before you can do a UNION your columns need to have the same name. Use SELECTCOLUMNS to rename them as needed.
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 ()
)
That worked perfectly! Thank you for all of your help!
User | Count |
---|---|
64 | |
59 | |
46 | |
35 | |
32 |
User | Count |
---|---|
85 | |
83 | |
70 | |
49 | |
46 |