I have created a recurring (monthly) query tool. Each month, the name of a column will change. I would like the user to be able to type the value in a cell on the first sheet, and drive that value to become the title of a column in the table.
Thought 1:
Modify the following code:
#"Renamed Columns1" = Table.RenameColumns(#"Multiplied Column7",{{"Month1;BDG", "AAA"}})
to replace "AAA" with a call to a specific cell on another sheet directly in the "Renamed" step. Is this possible?
Thought 2: Manage the change as column data by doing the following: 1. Demote the current column titles using "Use headers as first row" 2. Write an IF statement if the value = "Column7" then "value of the cell on the other sheet" else [Column7]. 3. Then promote the top row to be column headers after the change.
Or is there a way easier way? My searches have come up dry!