Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need to get my previous month and the month behind previous month with respect to my max(date). This is required for me to show the last 3 month trends in my chart.
My max(Date)='01-08-2018'
Please provide a solution.
Hi,
Check this.
Sum( {$<MonthYear={"$(=Date(AddMonths(Max(MonthYear),-1),'MMM-YY'))"}>} LineSalesAmount )
Read for more details: A Primer on Set Analysis
HI,
Use AddMonths() function ..
Regards,
Ashwin.
Hi,
Check this.
Sum( {$<MonthYear={"$(=Date(AddMonths(Max(MonthYear),-1),'MMM-YY'))"}>} LineSalesAmount )
Read for more details: A Primer on Set Analysis
Hi Aravind,
Try like this:
Sum( {$<Date={">=$(=Date(monthstart(AddMonths(Max(Date),-2)),'DD-MM-YYYY')) <=$(=Date(max(Date),'DD-MM-YYYY'))"}>} Sales )
Br,
KC
Hey Arjun,
Thank you so much. I got the output.