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: 
Not applicable

need help

hi, how can i write this in chart expression?

SELECT (amQty) FROM FCTRAN WHERE substri(FCTRANSIT,1,1)='S' and substri(FCTRANSIT,1,1)='M'

13 Replies
Not applicable
Author

sorry ppl,

'SAM','SML' and 'MBO' should be not equal. it s like this

SELECT (amQty) FROM FCTRAN WHERE substri(site,1,1)='S' and substri(site,1,1)='M' and substri(site,1,1) != 'SAM' and substri(site,1,1) != 'SML' and substri(site,1,1) != 'MBO'

manideep78
Partner - Specialist
Partner - Specialist

try this

=Sum({<site={'S*', 'M*'} - {'SAM*','SML*','MBO*'}, Month={11}>}amQty)


Note: Make sure your month field should be in standard date format, other wise change it using relevant date functions.

Not applicable
Author

You can Use this one


Sum({<site={'S*', 'M*'} - {'SAM*','SML*','MBO*'}, Month={11}>}amQty)


It helps.

jagan
Partner - Champion III
Partner - Champion III

Hi,


Try this expression.

Sum({<site={'S*', 'M*'} - {'SAM*','SML*','MBO*'}, Month={11}>}amQty)


Regards,

Jagan.