Hi Team ,
we have created dashboard prompt where we have two parameters . Parent department and Child Department. Parent department is sql result type and have presentation variable defined as R1. Parent department is multiple choice enabled.
Now child department is dependent on R1 input so here is query we are trying to use.
SELECT "Department"."Department Name" FROM "Workforce Management - Worker Assignment Real Time"
where "- Hierarchy"."Level 1 Department" IN ('@{R1}')
and "Department"."PER_ORGANIZATION_UNIT_DFF_LEVEL_NR_" >1
In clause is not working and we found the possible reason could be it use ; for multiple values instead of comma so we are trying to replace semi colon with comma.
Could someone help how we can replace the semi colon with comma in prompt query as replace function is not working in prompt sql.
Regards,
Ankur