Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BEx designer- Or condition on dates


Hi All,

I need to extract data using bex query with a condition on start date and end date as .

Start date  From 1/1/2000 to 1/31/2000

OR

End date from 1/1/2000 to 1/31/2000

Which is , all the records that has either startdate or end date as above . If  a record has startdate as 1/21/2000and end date as 2/27/2000  or Null I want it to be captured .can youhelp with suggestions.

Thank you!

Former Member replied

Hi Raja,

Follow this procedure.

Create a selection (lets say KF1)  including your KF, with a filter on Start Date where you filter with the reuqired date range.

Create another selection (lets say KF2) including your KF with a filter on End Date where you filter with the reuqired date range.

Create one more selection ((lets say KF3) including your KF with one filter on Start date where you filter with the reuqired date range and another filter on End Date where you filter with the reuqired date range.

Then simply add a formula such as

KF4 = KF1 + KF2 - KF3.

KF4 is what you require.

Regards

Yasemin...

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question