Forum Discussion

sabeensp's avatar
sabeensp
Helper IV
6 years ago
Solved

Dynamic Column Name

Hello, I have a table as shown below. I have to plot the data in Grid, but column needs to be actual year. Every Year, Year will increment such as current Year + 1, + 2, and so on. So I cannot simpl...
  • parry2k's avatar
    parry2k
    6 years ago

    sabeensp see attached, look at table called Table in power query and it take the current year as a base and then replaces column names accordingly. It can be improved further but I think it is a good start.