I have the following data that comes into Power BI from an Excel spreadsheet, which a user updates every week (current week provided as the example):
The top row will not change until Feb 1 next year. For the other 3 rows, the week # changes every week. The next step in my Power Query transformation is to transpose the data so that first column becomes the row headers which needs to be as follows:
Annual Commitment
Target number
Actual number
Completion Percentage
Once it has been transposed I can rename the columns to remove the characters I don't need, but that puts the exact current text in the Advanced Editor, and when "Week 34" changes next week to "Week 35", it will break.
How can I generalize the transformation so that as the week # changes, it still works? Or is that even possible?