Forum Discussion
column to row relationship
- 9 years ago
Unpivot Table 1 in query editor then relate 'Table 1'[New Value Column] to 'Table 2'[Values].
- 9 years ago
Hi Anonymous,
To relate two tales, there should have a common column in those two tables. In your scenario, you can open Query Editor, select the query Table1, select all columns then click Unpivot Columns.
Then apply the changes, go to the report, create a relationship. For more information, please check attached .pbix file.
Best Regards,
Qiuyun Yu
Hi Anonymous,
To relate two tales, there should have a common column in those two tables. In your scenario, you can open Query Editor, select the query Table1, select all columns then click Unpivot Columns.
Then apply the changes, go to the report, create a relationship. For more information, please check attached .pbix file.
Best Regards,
Qiuyun Yu
Hello! Thank you for sharing this, it was very helpful and worked! But in the process I lost the data from the original Table1. Is there a way to unpivot, create the relationship, and then transform back to the original table while maintaining the new relationship? I tried pivoting, but it didn't work.