Forum Discussion
BornSlippy99
3 years agoRegular Visitor
Merge columns to create new entries
Hi all, I'm brand new to Power BI so please bear with me. I imagine this is fairly standard but I can't find an article which answers what I'm looking for. I've created a reporting tool in my...
- 3 years ago
No worries, you're welcome! You can click the fx button to the left of the formula bar which will create a new step in the query. Then paste this snippet into the formula bar and replace #"Your Previous Step Name" with the name of your last step.
#"Unpivoted Other Columns" = Table.UnpivotOtherColumns(#"Your Previous Step Name", {"Date", "Time"}, "Attribute", "Issue")
BornSlippy99
3 years agoRegular Visitor
Hi Jenn,
Thanks for the quick response.
Apologies, does that code go into the advanced editor for that query, and does any of the existing code need changed?
Thanks again
jennratten
Super User
3 years agoNo worries, you're welcome! You can click the fx button to the left of the formula bar which will create a new step in the query. Then paste this snippet into the formula bar and replace #"Your Previous Step Name" with the name of your last step.
#"Unpivoted Other Columns" = Table.UnpivotOtherColumns(#"Your Previous Step Name", {"Date", "Time"}, "Attribute", "Issue")
- BornSlippy993 years agoRegular Visitor
Brilliant, this worked.
Thanks a lot!