Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
avinashkk696
Contributor III
Contributor III

Count of selections from multiple fields

Hi Guys,

I have a requirement where I need to set a variable if any selections were made in any field. Example, I have 10 or more fields and if any selections were made in any field, we should set the variable with selected count. If multiple selections made in multiple fields, we should sum up the counts from all the fields and store it in the variable.

I could not figure it out on how we do that. Please help me on that.

Thanks in advance

1 Reply
sunny_talwar

Have you tried doing it like this

GetSelectedCount(Field1) + GetSelectedCount(Field2)+....+GetSelectedCount(Field10)