Hi All,
We are using IBM Cognos Analytics with Watson (11.2.0).
In our database, we have this one summary table for total disbursement amount by transaction date, product type(internal facility name) and business day flag. Below are the sample snapshot of the table from SSMS:

In Cognos Report, the table will be tabulated as below example;

The user will be able to select the date from the date filter to get the total disbursement amount for each business day. Here are some high level rules to get the amount from the date filter;
- if transaction date = date_filter and business day flag = Y, then MTD_disburse_amount
- if transaction date = date_filter and business day flag = N, get MTD disburse_amount from previous working day (business_day_flag = Y)
- if transaction date = date_filter and business day flag = Y, skip even if T-1 = Y
Is there a way to achieve this by using the data items value in Cognos Report?
Any help is deeply appreciated.
Thanks and regards,
Aiman
------------------------------
Mohamad Aiman Arif Mohamat Saat
------------------------------