and more in a single search tool across platforms. Read the announcement here. |
12/21/2022 02:12 PM
ENUM Dynamic attribute in Intelligence returns all data when 'Select' is passed instead of enum values.
I want the report to show no data when the enum value is not passed. anyone has any idea
12/21/2022 03:17 PM
Can you share screenshot,
you can have Select as one of the enum value
12/22/2022 08:33 AM
Hi Rushikesh thanks for getting back to me.
the issue is when I don't select any Enum value, it is dumping all of the data from the query. if I don't select any Enum value, it shouldn't display any data. I could not upload the screenshot
thanks
Amanuel
12/22/2022 08:46 AM - edited 12/22/2022 08:52 AM
Share query your query must have issue.
By default last result gets displayed when condition fails
12/22/2022 08:55 AM
12/22/2022 08:47 AM
when you created analytics what is the default value you passed for the ENUM type attribute?
If you have default value as '%' and in query respective attribute you did check with like condition(endpointkey like '${endpointkey}') then it still results the value with all data
If possible can you share the query and the default value configuration for ENUM attribute?
12/22/2022 08:58 AM
12/22/2022 09:23 AM - edited 12/22/2022 09:54 AM
Since your default ENUM value is SA3 then I would expect a result that matches condition ev.customproperty6 like '%SA3%'.
Are you seeing any result other than this matching condition? If not then that's the expected result
Also I assume the posted query is not actual/full query because in the subquery I don't see columns that are used for join condition. Hopefully your actual query is working/resulting output but not just the expected result.
12/22/2022 09:44 AM
Since default value is SA3 - Records satisfying will be shown as results