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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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 

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Try like:

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

OR

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

View solution in original post

2 Replies
tresB
Champion III
Champion III

Try like:

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

OR

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

Dallas1000
Contributor
Contributor
Author

Much appreciated!