Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

like in an expression


i have this expression:

(sum({$<ISPAIDDPNC={'N'}>}AMOUNTDDPNC)-sum({$<DESCRIPTION_Cruces_Linea={'*        *'}>TOTALCXP_Cruces_Linea))

in the space i want a "like" where must be the id of the document of the row that is UM_NOTACREDITO_ID

how can i do this?

i want the sum of all totalCxPcruceslinea where the description like '%(multiples IDs)%'


4 Replies
Not applicable

Re: like in an expression

Please clarify your question. If you need to filter based on substring you can use SubStringCount:

sum({$<DESCRIPTION_Cruces_Linea={"=SubStringCount(DESCRIPTION_Cruces_Linea, 'substr')"}>TOTALCXP_Cruces_Linea)

Not applicable

Re: like in an expression



i have the field um_notacredito_Id with this values...1, 2, 3, 4, 5,........

i need the expression:









for each row of the table chart that im trying to do.

Not applicable

Re: like in an expression

I still don't understand it. Where do you get these numbers -- 1, 2, 3, 4, 5? Do you have a field which contains them?

Re: like in an expression

As you probably know, it is not possible to use a field in set analysis but you can use only values. Now,

If your field is UM_NOTACREDITO_ID then start (*) in set analysis works as like in queries so

sum({$<DESCRIPTION_Cruces_Linea={'*value of my field*'}>TOTALCXP_Cruces_Linea))

exctacts and sum all values that contains "value of my field". If you want you can use a selected value in a list box for instance using getfieldselected().

hope this may help

Community Browser