Hello All
I am developing a parameterized report which has bursting logic to split and send the file to different emails for each project. The Bursting query is working individually when used in Dataset but when same query is used as bursting query, reqport requests completes but email outputs are not generated. I am using trunc(TO_TIMESTAMP(:p_as_of_date)) for puling the data in the main DS but same is not working in Bursting. When checking log no errors found and XML has data as well. Please advise how to convert the data formatting in When clause for bursting to work? The parameter defined is a Date parameter DT.
SELECT
CASE
WHEN (:p_as_of_date)--to_date('2023-10-10','YYYY-MM-DD') --to_date(trunc(:p_as_of_date),'YYYY-MM-DD') --to_char(:p_as_of_date)
IS NULL
THEN
TRUNC(sysdate)
ELSE
to_date('2023-10-10','YYYY-MM-DD') --trunc(TO_TIMESTAMP(:p_as_of_date))
END run_date
FROM
dual;
Also based on case condition I have a separate DM to add additional text on the layout, I have performed the field mapping to include the data set block but in the bursting report email, the additional text is not getting displayed.