Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
navaneeth79
Contributor II
Contributor II

Error in set modifier ad hoc element list

I am getting error "Error in set modifier ad hoc element list" while using the below expression

num(count({1<Last7DaysFlag={'1'},UserType = {$(vL.UserType)},Session_Start_Count={">0"}>}DISTINCT Authenticated_User),'#,##0')

13 Replies
tresesco
MVP
MVP

What output do you get when expand the variable as  $(vL.UserType) in textbox?

navaneeth79
Contributor II
Contributor II
Author

on toggle selection it should reflect either 'Business User' or '*'

tresesco
MVP
MVP

Have you checked in a textbox, if that is working that way?

stabben23
Partner - Master
Partner - Master

What happen if you use a "search" in set analysis on that Field?

UserType = {"$(vL.UserType)"}

navaneeth79
Contributor II
Contributor II
Author

when I use " ", its showing only one value the other not getting reflected

navaneeth79
Contributor II
Contributor II
Author

yes I used text box

stabben23
Partner - Master
Partner - Master

Ok, maybe you should use UserType = {"*"} if you want both?

navaneeth79
Contributor II
Contributor II
Author

I have a toggle button, when I click on exclude I should get count of only business users and when I click include I should get over all value.

tresesco
MVP
MVP

Do you have a sample to share so that we can look into it?