Forum Discussion

itsmeanuj's avatar
itsmeanuj
Icon for Helper IV rankHelper IV
6 years ago

Same time last year.

Hi,

 

I have a dataset with 4 columns. Below is the sample and complete dataset can be found here - https://drive.google.com/file/d/1Yje0VHf3sNgfuQ65rMCDVPn95Wo6x-tG/view?usp=sharing

 

ProductWeekMetricValue
Product A1/4/2019Units12899
Product A1/11/2019Units13893
Product A1/18/2019Units13158
Product A1/25/2019Units12384
Product A2/1/2019Units13293
Product A2/8/2019Units13528
Product A2/15/2019Units12621

 

This is the desired output (sample - complete output is in the file)

 

 1/3/20201/10/20201/17/20201/24/20201/31/20202/7/20202/14/20202/21/2020
Units1054912062121401122411611124141226312479
Forecast        
Last year (Units)1289913893131581238413293135281262113053
Change-2350-1831-1018-1160-1682-1114-358-574
Change%-18.2%-13.2%-7.7%-9.4%-12.7%-8.2%-2.8%-4.4%

 

I am actually not what measure can be used to show the same time last year's units and the change. The format of the data cannot be changed (as there are other views dependent on this data) but we can add columns if required for this view. 

4 Replies