Forum Discussion
Promoting headers that don't match
- 3 years ago
Hi mwvoves
I've attached a PBIX file for you.
Firstly, you want to Transpose the table (in the Transform tab of Power Query), then Unpivot.
You will have to delete your second Applied Step though, as Power BI is automatically determining your first header.
Let me know whether the attached is what you are after. The outputs turn out like this:
Hope this helps!
Theo 🙂
Hi mwvoves
Rather than promoting the Dates as "Headers," you should unpivot the columns so that your result is a "Dates" column and an "Amount" column. This will then give you the basis of creating a relationship to a Date table and allow you to also undertake far better analysis comparatively.
Let me know if you'd like further explanation k!
Theo 🙂
Here's how the table loads into power BI- are you saying I should unpivot the table as is (instead of removing the top 2 rows/promoting the first row as headers)?
- TheoC3 years agoCommunity Champion
Hi mwvoves
I've attached a PBIX file for you.
Firstly, you want to Transpose the table (in the Transform tab of Power Query), then Unpivot.
You will have to delete your second Applied Step though, as Power BI is automatically determining your first header.
Let me know whether the attached is what you are after. The outputs turn out like this:
Hope this helps!
Theo 🙂- mwvoves3 years agoRegular Visitor
Yes I was able to get it to work after using the transpose step, thank you!!