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

Formula in Query desinger in BEX

Hi,

I want to create below formula in BEx which will be like :

Aging Bucket= IIF([Past Due Days]<=0,"Current",IIF([Past Due Days]<31,"1-30",IIF([Past Due Days]<61,"31 - 60",IIF([Past Due Days]<91,"61-90",IIF([Past Due Days]<181,"91 -180",IIF([Past Due Days]<361,"181 - 360",IIF([Past Due Days]>360,"360+")))))))

And Past due dates is one of my Keyfigure in the report. How can I acheive this using text variable? or is there any other way

Thanks,

Priya Bhat

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 09, 2011 at 10:47 AM

    Hello,

    Please go through the following links:

    Aging calculation in report

    Thanks.

    With regards,

    Anand Kumar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 09, 2011 at 12:05 PM

    Hi

    Try with BEx If conditions shown below

    ((Past due days<=0)Current) AND (Past due days<31)1-30) AND (Past due days<61)31-60) AND (Past due days<91)61-90) AND (Past due days<181)91-180) AND (Past due days<360)181-360) AND (Past due days>360)*360+)))

    Regards

    Jagadeesh

    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.