Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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!
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
98 | |
61 | |
47 | |
36 | |
34 |