Hi Friends,
I am looking for a DAX measure to calculate Change in Percentage w.r.t to a particular period by Products. Please suggest me how can we write the optimized DAX for the same. Provided a sample with required output. Baseline is Jan-23 data, this can vary as per business request. Any suggestions are much appreciated.
MY Product Qty %Change
Jan-23 | PROD1 | 100 | |
Feb-23 | PROD1 | 120 | 20% |
Mar-23 | PROD1 | 135 | 35% |
Apr-23 | PROD1 | 140 | 40% |
May-23 | PROD1 | 120 | 20% |
Jun-23 | PROD1 | 100 | 0% |
Jul-23 | PROD1 | 80 | -20% |
Aug-23 | PROD1 | 90 | -10% |
Sep-23 | PROD1 | 75 | -25% |
Oct-23 | PROD1 | 100 | 0% |
Nov-23 | PROD1 | 80 | -20% |
Dec-23 | PROD1 | 65 | -35% |
Thanks