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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Different unrelated metrics in one listbox

can i put a no. of unrelated metrics in one list box? EX: If i make a list box, whose title is select metric and the values in the listbox should be different unrelated metrics like No. of history books, no. of geography books etc. and when i select one of these metric so my graphs should show the data for the selected metric.

How can i do this??

3 Replies
Not applicable
Author

Hey,

I think you should make a new field wich contains the list of metrics.

Then you should make a variable or a calculated dimension with something like:

if(new_field='No of history books',field_history_books,

if(new_field='No of geograpy books',field_geograpy_books

))

Not applicable
Author

can a multibox serve my purpose too?

Not applicable
Author

That should be possible as well. You could use the same new_field in a multibox instead of a listbox.

If you want to be able to select for instance both history_books and geograpy_books at the same time things get more complicated.

Maybe you could upload a qvw with (fake) data?