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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

expression use

hi

i am working on a qlik view document having list boxes store_id,store_desc,store_manager,store_name,store_id. i am trying to use an expression as

"                 

sum({<store_manager={'*a*}>}store_id)

what must be the outcome of this expression??

2 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

This expression results the sum of store_id values, for those store_manager values having 'a'.

=sum({<store_manager={'*a*}>}store_id)

Hope this helps you.

Regards,

Jagan.

v_iyyappan
Specialist
Specialist

Hi,

     Outcome of above exprssion is if Store_Manager 'a' means it will sum of Store_id,

Please use Count instead of Sum because id not calculate the sum value.So use the expression like this

=Count({<store_manager={'*a*}>}store_id)

Regards,

Iyyappan