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

Need SQL for data model list of values for Time Card Time Type

Received Response
58
Views
2
Comments

Summary:

I need to add a parameter to a BI Publisher Report that has the values from the Time Type field from the Time Card.

I have the following SQL written for the list of values for the Time Type field, but the performance is really poor.

Content (required):

If there is another approach, I am happy to try it.

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

SELECT 

            

        CASE

             WHEN REC.GRP_TYPE_ID = 202

                 THEN

                 (

                    SELECT DISTINCT

                        TA.ATTRIBUTE_CATEGORY

                    FROM

                        HWM_TM_REP_ATRB_USAGES TAU

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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