BEx designer- Or condition on dates
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
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.
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.