Forum Discussion
DaniBran1
2 years agoRegular Visitor
Creating a relationship between date table and data table
Is there a way I can create a relationship between these 2 tables: Currently the data has the header as months but the data underneath are scores: I am trying to create a visualiza...
- 2 years ago
I'd strongly recommend unpivoting your data table.
https://learn.microsoft.com/en-us/power-query/unpivot-column
Then convert the month names into dates (e.g. "Apr" --> 4/1/2023) for the appropriate year so that you can create a relationship to Calendar.
AlexisOlson
2 years agoSuper User
I'd strongly recommend unpivoting your data table.
https://learn.microsoft.com/en-us/power-query/unpivot-column
Then convert the month names into dates (e.g. "Apr" --> 4/1/2023) for the appropriate year so that you can create a relationship to Calendar.