Forum Discussion
Calculate Percentage Change
- 3 years ago
try like this:
Stock Change = CALCULATE(sum(qryExportStock_Totals[Total]), ALL(qryExportStock_Totals), PREVIOUSDAY(qryExportStock_Totals[StockDate])) - 3 years ago
Ahmedx sorry can you help with this query following on from your solution? Can you advise how I would compare Mon this week to Mon last week for all days of the week i.e. Mon vs Mon, Tues vs Tues, Wed vs Wed etc etc. I understand the first 7 records will be blank. I have updated the dataset to have day of the week see link below https://drive.google.com/file/d/1f2yHQQr2DxlXfcUyUMNcEFxl-6TXtloj/view?usp=sharing
I have tried adding on the solution you gave by adding 7 days but it didnt like what I did and threw up some errors. Thanks in advance
Is this what you are looking for?
- Abz_173 years agoHelper I
Ahmedx Can this be done in the data table rather than a visual? I dont want to have W1 etc. Wanted to keep the same format as this
but instead of the 3rd column showing previous day, i want it to show 7 days prior like this excel sheet has with colour coding, going all the way down to the end of the data
- Ahmedx3 years agoSuper User