programsam
Board Regular
- Joined
- Feb 10, 2016
- Messages
- 123
Greetings, I have a file that updates monthly and when a new month starts, a column is added dynamically. I'm trying to find a way to have Power Query detect the prior three months and then average them out. I cannot do this by column position alone as every month a new column will be added to the right.
In the image below, I'm trying to have it detect May, June and July 2023 and average out the values in the columns.
In the image below, I'm trying to have it detect May, June and July 2023 and average out the values in the columns.