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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
GregRyder
Contributor II
Contributor II

Wildcard

Here is my formula 

Sum(if((TCODE='PU' and [Supplier Code]='S*') ,AMOUNT))

I am trying to get the sum AMOUNT of all [Supplier Code] beginning with the letter 'S' and the * symbol doesn't work

2 Solutions

Accepted Solutions
hic
Former Employee
Former Employee

Sum({<TCODE={'PU'},[Supplier Code]={"S*"}>} AMOUNT)

View solution in original post

marcus_sommer

Try it in this way:

Sum({< TCODE = {'PU'}, [Supplier Code] = {"S*"}>} AMOUNT))

- Marcus

View solution in original post

3 Replies
hic
Former Employee
Former Employee

Sum({<TCODE={'PU'},[Supplier Code]={"S*"}>} AMOUNT)

marcus_sommer

Try it in this way:

Sum({< TCODE = {'PU'}, [Supplier Code] = {"S*"}>} AMOUNT))

- Marcus

GregRyder
Contributor II
Contributor II
Author

Thanks that worked perfectly