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: 
Dallas1000
Contributor
Contributor

Qlikview conditional help needed

Good day Qlikview community

I am new here so please be gentle.

I am trying to set a condition in a chart that will only sum values if a text string starts with a certain value.

I have the following expression 

if('Location'='110%',Sum([Total value])) 

my field name with the text that needs to be considered is Location

the text should start with 110%

and the sum should be for the Total value column.

but once I process it the chart does not display the values accordingly.

please assist.

kind regards

Dalton 

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

Sum(if(WildMatch(Location,  '110%*'),[Total value])) 

OR

Sum({<Location={"110%*"}>} [Total value]) 

View solution in original post

2 Replies
tresesco
MVP
MVP

Try like:

Sum(if(WildMatch(Location,  '110%*'),[Total value])) 

OR

Sum({<Location={"110%*"}>} [Total value]) 

Dallas1000
Contributor
Contributor
Author

Much appreciated!