Qlik Community

Ask a Question

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

April 22, 2PM EST: Learn about GeoOperations in Qlik Sense SaaS READ MORE
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum of value where a = b expression

Hi Guys,

I am using qlik sense and want a combo chart that has two Measures.

The 2 measures I want are "Sum of value where Country = a" and "Sum of value where Country = b"

Currently Sum ({$<[conceptid]={'258'}>} string_value) is not working the 258 would be what changes.

Any help would be appreciated.

2 Replies

Are you trying to sum up string values? That won't work. Try summing a numeric field. Something like Sum({<Country={'a'}>}SalesAmount)

talk is cheap, supply exceeds demand
Not applicable

Sorry the name is misleading, the string value is actually a number. I get the value on the groan however not the one that relates to the concept id. All I want is the "where" equivalent. So example sql would be select sales from table where country = France. I can get the sales but unable to get them to only pick the country using the expression I said first.