You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now

Listagg Function on Business Intelligence Subject Areas

edited Jun 5, 2020 2:41PM in Reporting and Analytics for HCM 3 comments

Summary

How to use Listagg Function on Subject areas on BI Reports

Content

Hi Team,

I have converted an OTBI an analysis to a BI Report. I would like to use Listagg function on the subject areas. Below is the query i have used which is not working. Could anyone help me. Basically using Listagg to get the ethnicity LoV values in single row with a , separator.

select "Worker"."Person Number",listagg("Worker"."Employee Ethnicity",',') within group (order by "Worker"."Employee Ethnicity"  desc)
   from "Workforce Management - Worker Assignment Real Time" 
where 1=1   
and "Worker"."Person Number" = '****'
group by "Worker"."Person Number"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!