on 07-17-2016 1:10 PM
Currently this is what is happening
*On the 1st day of July,
It shows the sales of 1st of July.
As it is filtered by Current Month.
Month | MTD Sales |
---|---|
July | 1 |
Requirement
On the 1st day of July,
the report has to show the MTD sales of the previous month.
Month | MTD Sales |
---|---|
June | 1000 |
Is there function such as FirstDayofCurrentMonth?
I am thinking about creating a variable such as:
Variable = If (CurrentDate() = FirstDayofCurrentMonth)) Then (CurrentMonth()-1) Else (CurrentMonth())
Thanking you in advance...
use this to get the first day on month.
=ToDate("01/"+FormatDate(CurrentDate();"MM/yyyy");"dd/MM/yyyy")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.