Hi All,
I need to create report variable in BI launch pad for the below criteria and looking for help. I was able to get till creation of condition variables in universe but not getting output in report when used (as these are having conditions in where clause which restrict the data).
Appreciate your support
Amounts for Vouchers with a status of A, Z, or P as of the end of previous month end and multiplied by face value amount
FADS_BO_V_112.F_PREPAID_COUPON_SUB. FACE_VAL_AMT* COUNT(FADS_BO_V_112.F_PREPAID_COUPON_STATUS_LOG.TO_STAT_CD) where FADS_BO_V_112.F_PREPAID_COUPON_STATUS_LOG.TO_STAT_CD IN ('A','Z','P') as of the end of previous month end
Amounts for Vouchers that changed status from G to A during current month (Media Type <> I or S in Voucher table and A Status Date = to current period)
FADS_BO_V_112.F_PREPAID_COUPON_SUB. FACE_VAL_AMT* COUNT(FADS_BO_V_112.F_PREPAID_COUPON_STATUS_LOG.TO_STAT_CD) where FADS_BO_V_112.F_PREPAID_COUPON_STATUS_LOG.FROM_STAT_CD = 'G' and FADS_BO_V_112.F_PREPAID_COUPON_STATUS_LOG.TO_STAT_CD = 'A'
and FADS_BO_V_112.F_PREPAID_COUPON_SUB.MDA_TYP_CD Not In ( 'I' , 'S') and FADS_BO_V_112.F_PREPAID_COUPON_SUB.LAST_UPDT_DTTM = to current period
(to current period is the user prompt date)
FADS_BO_V_112.F_PREPAID_COUPON_SUB. FACE_VAL_AMT* COUNT(FADS_BO_V_112.F_PREPAID_COUPON_STATUS_LOG.TO_STAT_CD)
where FADS_BO_V_112.F_PREPAID_COUPON_STATUS_LOG.FROM_STAT_CD = 'A' and FADS_BO_V_112.F_PREPAID_COUPON_STATUS_LOG.TO_STAT_CD IN ('A', 'G', 'I', 'P', 'S', 'U', 'Z')
and FADS_BO_V_112.F_PREPAID_COUPON_SUB.MDA_TYP_CD NOT IN ( 'U' , 'P','Z') during current month and Status Change Date >= beginning of current month
Here status change date is F_PREPAID_COUPON_STATUS_LOG.CPN_STAT_CHNG_DTTM
Thanks.