Skip to Content

Date Comparision in Bex using count in formula?

Hi all,

In order to avoid confusion with other queries, created the same.

Can we use the below in COUNT or DELTA or even IF ELSE?

Date 1 and Date 2 below are the formula variables with Ref char as their respective dates.

Month 1 and Month 2 are formula variables with ref char as their dates with offset (From 0 to 6), with currency/unit dimension as Date

Please check the below for ref and let me know if its correct.

COUNT ( Date 1 == Date 2), result is 1

DELTA (Date 1 <=> Date 2), result is 1

COUNT ( Month 1 == Month2), result is 1

These are being used in formulas to calculate count of orders which satisfy above conditions.

FV_Month.png (30.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 30, 2013 at 03:26 PM

    You can use above formulas in If..else. But what is your expected formula?

    If you can give some hints, i can give you perfect If..else formula.

    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.