Forum Discussion
Evolution rate only for common months
- 3 years ago
Hi Jackisover ,
You can try this method:
For the 04/01/2022, you can do this:
MeasureN = CALCULATE(SUM(file[Data N]), FILTER('file','file'[Date] <> DATE(2022,4,1)))MeasureN-1 = CALCULATE(SUM(file[Data N-1]), FILTER('file', 'file'[Date N-1] <> MIN('file'[Date N-1])))Result = DIVIDE([MeasureN] - [MeasureN-1], [MeasureN-1])The result is:
Hope this helps you.
Best Regards,
Community Support Team _Yinliw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
🆙
If someone can help me find a solution...
Thanks !
Hi Jackisover ,
You can try this method:
For the 04/01/2022, you can do this:
MeasureN = CALCULATE(SUM(file[Data N]), FILTER('file','file'[Date] <> DATE(2022,4,1)))MeasureN-1 = CALCULATE(SUM(file[Data N-1]), FILTER('file', 'file'[Date N-1] <> MIN('file'[Date N-1])))Result = DIVIDE([MeasureN] - [MeasureN-1], [MeasureN-1])
The result is:
Hope this helps you.
Best Regards,
Community Support Team _Yinliw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Jackisover3 years ago
Advocate I
Hello v-yinliw-msft
Thank you for your help, this is a good solution.
Actually, I thought there would be a way to automatize the calculation of a rate based on common months, but since there is not (maybe there is ?), the best way is to create a new column or a measure to reproduce common months only.
Thanks,