Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Everyone,
How to show last Fiscal Month of Last Fiscal year.
For e.g- Fiscal year-2015-2016 Apr Month is selected....the data should show March of Fiscal Year 2014-15.
Any help would highly appreciate.......................
Regards,
Mohammad
try these,
Last year:
=num(sum({$<Year = {$(=only(Year) - 1)}, Month = {"<=$(=max(Month))"}>} LineSalesAmount), '$#,##0;($#,##0)')
Last Month:
sum({$<Year = {$(=only(Year) - $(=if(only(Month) = 1, 1, 0)))}, Month = {$(=month(addmonths(MonthYear, -1)))}>} LineSalesAmount)
hi,
for YTD =>variable MaxDate=max(DATE)
Sum({$<FinYear=,FinMonth=>}InYearToDate(DATE,'$(MaxDate)',0,4) * -1 *(([Amount])))
LYTD
Sum({$<FinYear=,FinMonth=>}InYearToDate(DATE,'$(MaxDate)',-1,4) * -1 *(([Amount])))
MTD
Sum({$<FinYear=,FinMonth=>}InMonthToDate(DATE,'$(MaxDate)',0,4) * -1 *(([Amount])))
LMTD
Sum({$<FinYear=,FinMonth=>}InMonthToDate(DATE,'$(MaxDate)',-1,4) * -1 *(([Amount])))
Regards
Vimlesh
Hi Shiva,
I want last yr and last month in one expression
u mean 2014 dec?
Hi,
Look at this app.
Regards
Vimlesh
no i want fiscal yr
For e.g- Fiscal year-2015-2016 Apr Month is selected....the data should show March of Fiscal Year 2014-15.
Wher is the app...
please attached
hi,