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

No of Days

Hi All,

I need to calculate the formula 'No of Days' during report navigation.

No of Days = System Date - Status Date.

I created No of Days as a formula and status date is coming from the InfoSet. Now how do i get the System date in the report? Is there any standard function for this? Or is there any other way for calculating No of days.

Thanks for your help.

Raj

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2005 at 02:55 AM

    Hi,

    Here If you are including <i>Status date</i> as a part of rows(i.e if you are including in Rows part of query designer), you can use 2 formula variables to get No of days in the report.

    1) Create a formula variable with

    processing as 'Customer Exit'

    Varaiable entry as 'Mandatory'

    No tick mark for 'Ready for input'

    Dimesion id = 'date'.

    2) Create a formula variable with

    processing as 'Replacement path'

    Caharacterstic = 'Status date'

    Replacement variable with = 'Key'

    Dimesion id = 'date'.

    3) use the above two formula variables in a formula of the query as difference.

    With rgds,

    Anil Kumar Sharma .P

    (do not forget to assign points, if it helps you)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2005 at 12:55 AM

    Create a formula variable of processing type 'Customer Exit' and assign the System Date as the value from the exit. Then from the query designer use the System Date (Formula variable) and the Statis date to do the calculation.

    Thanks.

    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.