Skip to Content
author's profile photo Former Member
Former Member

Every 1st day of the month, show the MTD report of the previous month. How do you do this?

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.


MTD Sales




On the 1st day of July,

the report has to show the MTD sales of the previous month.


MTD Sales



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...

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 17, 2016 at 01:02 PM

    use this to get the first day on month.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.