I've some months as my column name like below.
Now i'm reading first 4month at once.
| APR | MAY | JUN | JULY | AUG |
| 1 | 4 | 5 | 8 | 10 |
| 2 | 3 | 6 | 7 | 9 |
Then i'm using dynamic rename to change these months like below
if contains([Current_field],'APR')
then replace ([Current_field],'APR','M1')
elseif contains([Current_field],'MAY')
then replace ([Current_field],'MAY','M2')
elseif contains([Current_field],'JUN')
then replace ([Current_field],'JUN','M3')
elseif contains([Current_field],'JULY')
then replace ([Current_field],'JULY','M4')
endif
Now i want to change these months dynamically. Like next time it should start with MAY,JUNE,JULY and AUG
Is it possible to change the above calculation dynamically so that it keeps on taking