Forum Discussion
Calculating Same Period Last Month !!!
Hi selimovd,
Can you help me on this issue?
Here is my PBI file: https://we.tl/t-X49Va7dzNP
Thanks
Hey Anonymous ,
is that still ongoing or could you solve the issue?
If it's still unsolved you have to upload the file again as it expired.
Best regards
Denis
- Anonymous5 years agoNot applicable
- selimovd5 years ago
Most Valuable Professional
Hey Anonymous ,
I downloaded the file and don't see anything you showed on the first post in the file.
Can you explain again what you are trying to do, what is the result and what you expect as a result?
Maybe prepare the file, that I only have to open it and see your case.
Best regards
Denis
- Anonymous5 years agoNot applicable
Hi selimovd,
Sorry I might have renamed those measures which makes them difficult for you to understand !
Below measure #1 is what returns the sales quantity in current month and measure #2 is what I expect to return sales quantity of same period last month and change in percentage.
Measure #1
MTD PREMIUM Sales Installed = CALCULATE([PREMIUM Sales],DATESBETWEEN('Sales Report'[Installation Date],DATE(YEAR(TODAY()),MONTH(TODAY()),01),TODAY()))Measure #2MTD PREMIUM Sales SPLM =VAR SPLM = CALCULATE([MTD PREMIUM Sales Installed],PARALLELPERIOD('Calendar'[Date],-1,MONTH))RETURNDIVIDE([MTD PREMIUM Sales Installed]-SPLM,SPLM)TIA