can any one tell me how this apply comparision works in filtering the MTD values of cycle id which is the date, when a particular date value is given in the prompt.
filter mtd
applycomparision(“#0<=#1”,cycle(ID),{cycle date prompt})
and
applycomparision(“#0>=(select distinct trunc(Z_cycle_id,MM) from PS_Z_TDAY where Z_CYCLE_ID=#1)”,cycle(id),{Cycle date prompt})
filter mtd
applycomparision(“#0<=#1”,cycle(ID),{cycle date prompt})
and
applycomparision(“#0>=(select distinct trunc(Z_cycle_id,MM) from PS_Z_TDAY where Z_CYCLE_ID=#1)”,cycle(id),{Cycle date prompt})