Forum Discussion
migueljoa
5 years agoFrequent Visitor
Help with this Powerquery Puzzle!
I have a table with the following columns: [Date] [BalTerm1] [BalTerm2] [BalTerm3] [Rate1] [Rate2] [Rate3] I want it to look like this: [Date] [Term] [Balance] [Rate] 1 ...
- 5 years ago
Solved it!
- Unpivot Term Columns
- Unpivot Rate Columns
- The result will be a matrix that repeats all combinations of Term and Rate
- Replace text to match Rate attribute to Term Attribute
- Create a column to find attributes that are the same
- Remove rows that are not a match
- Rename columns properly and remove the new row created.
migueljoa
5 years agoFrequent Visitor
Solved it!
- Unpivot Term Columns
- Unpivot Rate Columns
- The result will be a matrix that repeats all combinations of Term and Rate
- Replace text to match Rate attribute to Term Attribute
- Create a column to find attributes that are the same
- Remove rows that are not a match
- Rename columns properly and remove the new row created.