For more information, please refer to this announcement explaining best practices for getting answers to questions.
Need SQL for data model list of values for Time Card Time Type
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