Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewforum
Creator II
Creator II

Error message in Combo chart to restrict the user from selecting more than one value from one of the list box.

Hi,

In a combo chart I want to display the error message to the user if more than one value is selected from one of the list box. Please help to achive this

1 Solution

Accepted Solutions
Yousef_Amarneh
Partner - Creator III
Partner - Creator III

see this

Yousef Amarneh

View solution in original post

11 Replies
Yousef_Amarneh
Partner - Creator III
Partner - Creator III

go to General tab, click Error Message button and write your error message in the Custom Error Message text box, then in the General tab also there is a text box for Calculation Function, in there you can define your condition ex:

If(GetSelectedCount(FieldName)>1,0,1)

Yousef Amarneh
qlikviewforum
Creator II
Creator II
Author

I did the same thing but it is not working. Please help!

Yousef_Amarneh
Partner - Creator III
Partner - Creator III

Share your application with me to try it, I tried it before and I am pretty sure that it works fine.

Yousef Amarneh
qlikviewforum
Creator II
Creator II
Author

Sorry I cannot attach the application due to confidential/security reason. Can you please attach some sample work around if you can? That would be helpful

qlikviewforum
Creator II
Creator II
Author

In the Combo chart, Layout tab --> Show --> I have already have condition called

FieldName='XYZ' or FieldName='ABC'

So the same fieldname whatever we have used as condition in Layout tab, the same has been used in the Calculation Condition in the General tab.

I think this is what causing the issue. Any idea how to overcome from this?

Yousef_Amarneh
Partner - Creator III
Partner - Creator III

Please find this sample, it works fine

Yousef Amarneh
qlikviewforum
Creator II
Creator II
Author

Please see the attached now it wont work as I have condition in the layout also as I mentioned in the above post.

Yousef_Amarneh
Partner - Creator III
Partner - Creator III

see this

Yousef Amarneh
Yousef_Amarneh
Partner - Creator III
Partner - Creator III

Please if this solution works with you please mark my answer as correct answer

Yousef Amarneh