Forum Discussion
Join 2 rows from tables
- 7 years ago
yes, you will have to create a compound key by creating new columns that combine the fields you want to join on.
You could potentially create a seperate lookup table with all the distinct values and corresponding index fields but it's probably only worth it if you have lots of records and/or your compound fields are very long
Hi Anonymous ,
I have a little confused about your requirement.
What is the " join two rows"? Normally, we could join tables in power bi.
If it is convenient, could you share the data sample which could reproduce your scenario and your desired output so that we could help further on it?
Best Regards,
Cherry
Sorry,
i mean thath i want to join 2 table with 2 keys.
Have to create a compound key? No other ways?
Thanks
- v-piga-msft7 years agoResident Rockstar
Hi Anonymous ,
Normally, we could join multiple tables with UNION function in Power BI.
If you still need help, please share your data sampl and your desired output so that we could help further on it.
Best Regards,
Cherry
- itchyeyeballs7 years agoImpactful Individual
yes, you will have to create a compound key by creating new columns that combine the fields you want to join on.
You could potentially create a seperate lookup table with all the distinct values and corresponding index fields but it's probably only worth it if you have lots of records and/or your compound fields are very long