Forum Discussion
Automating measures to update each week
- Anonymous6 years ago
The solution is excel based in the original file. The column headers now update each week to the correct reference, for example WC 10/05 is currently called "5" but next week WC 17/05 will be called "5". This means the measure is "Week 5 = SUM([5]) so I no longer need to update the measures manually.
Hi again, I'm not exactly sure what you need so hope this helps:
Morpheus is table containing a list of stores and by date how many hours they receive, therefore we create a sum of each column.
W5 = SUM(Morpheus[03/05/2020])
5 is table containing a list of stores and how many hours they have used in a specific week, therefore we create a sum of this column.
5 Demand = SUM('5'[5])
We then need the difference between the two tables.
5 VH = [5 Demand] - [W5]
We then need the % difference between the two tables.
5 V% = DIVIDE('5'[5 VH], [W5])
All I need to be able to do is avoid a manual process of changing the column summed in the first measure. The fact the column is named as a date is just a coincidence.
Hi Anonymous ,
Can you upload part of your data and expected output to make your requirement more clear?
Best Regards,
Kelly