Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
35 | |
34 |
User | Count |
---|---|
99 | |
56 | |
53 | |
44 | |
40 |