Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have two tables:
Fisrt:
id | code | value |
56786 | _1 | first_value |
56786 | _2 | second_value |
56786 | _3 | third_value |
56786 | _4 | forth_value |
56786 | _5 | fifth_value |
56786 | _6 | sixth_value |
Second:
id | code | value |
56786 | _3 | third_value |
35678 | _4 | forth_value |
55567 | _1 | first_value |
So, in first we apply 6 kinds of values per each person. But in second we got one chosen by person value per that person. How can I add any column from first table to second? Related on person_id and code.
It can be complicated, so, if smth is unclear, ask me please, because I find it hard to do it. Thank you!
Solved! Go to Solution.
Hi @Anonymous ,
you can concatenate both id and code columns and have both the tables related on that composite key. Then use RELATED() to add any column from the first table to the second.
Regards,
Aditya
Hi @Anonymous ,
you can concatenate both id and code columns and have both the tables related on that composite key. Then use RELATED() to add any column from the first table to the second.
Regards,
Aditya
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 |
---|---|
10 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
8 |