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

MTD\YTD in Query

Hi Experts,

i am facing smal problem if you have any solution please can you respond...

this is my requirement :

i am calaculating for Month till date and year till date how can i define in query please give me solution.

i'll assign full points..

Thanks.

Lakshmi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2008 at 11:50 AM

    Hi,

    For MTD, just restrict query element with month variable.

    For YTD, restriction type should be range, and restriction should be from 001 to month variable.

    Hope this helps.

    Regards

    Alkan

    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.