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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
GregRyder
Contributor III
Contributor III

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

Labels (1)
2 Solutions

Accepted Solutions
hic
Former Employee
Former Employee

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

View solution in original post

marcus_sommer
MVP
MVP

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
MVP
MVP

Try it in this way:

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

- Marcus

GregRyder
Contributor III
Contributor III
Author

Thanks that worked perfectly