Need to compare multiple fields in BI Report output
We have a requirement like that depend on output of multiple fields a column output need to be evaluated. Please find the use cases below.
Field Name: Compliant
1. If if SOURCESTATUS=ADSTATUS then 'Yes'
2. if (xdoxslt:date_diff('d',DISABLED_DATE, REVOKE_NOTI_DATE, $_XDOLOCALE, 'America/Los_Angeles')) > 2 then 'No'. That is if difference between Disabled and Revoke noti Note is greater than 2 the Compliant field is No.
We are able to get the value(difference between dates) by using the condition <?xdoxslt:date_diff('d',DISABLED_DATE, REVOKE_NOTI_DATE, $_XDOLOCALE, 'America/Los_Angeles')?>.
But when we are using this condition along with xdofx condition to evalute multiple condions then it is not working. Please find the condition we are using below and let us how to evaluate multiple conditions to display in output