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: 
rmdnkevin
Contributor III
Contributor III

Count a Field

Hi, everyone.

I have this kind of table :

Screenshot_3.png

I want to make a text object that only count each sum, such Travel = 3798, Shop = 278, etc.

How can I count that in an expression ?

Thank you

-Kevin

1 Solution

Accepted Solutions
pooja_prabhu_n
Creator III
Creator III

You can use set analysis

sum( {<Requirement={'Travel'}>} USD)

View solution in original post

6 Replies
dapostolopoylos
Creator III
Creator III

Why not a straight table instead of a text box?

Father/Husband/BI Developer
pooja_prabhu_n
Creator III
Creator III

You can use set analysis

sum( {<Requirement={'Travel'}>} USD)

sergio0592
Specialist III
Specialist III

Hi, try in text box with :

='Requirement=Travel'&sum( {<Requirement={'Travel'}>} USD)&chr(10)&'Requirement=Shop'&sum( {<Requirement={'Shop'}>} USD)&chr(10)&'Requirement=Education'&sum( {<Requirement={'Education'}>} USD)

rmdnkevin
Contributor III
Contributor III
Author

Thank you so much, it hepls

rmdnkevin
Contributor III
Contributor III
Author

Thank you for your response, it's solved

rmdnkevin
Contributor III
Contributor III
Author

Thank you for your response, it's solved