QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

New Contributor II

if skript

Hi

How should this be written?

// dimension

if (column) third mark is 1 is '3319' and if (column) third mark is 5 is '3317'

1 Solution

Accepted Solutions
Highlighted
Partner

Re: if skript

Try this:

If(mid([column],3,1) = '1','3319', if(mid([column],3,1) = '5','3317'))

AGB

4 Replies
Partner

Re: if skript

If ( Field1 = '1','3319',

if(Field1 = '5','3317'))

Highlighted
Partner

Re: if skript

Try this:

If(mid([column],3,1) = '1','3319', if(mid([column],3,1) = '5','3317'))

AGB

New Contributor II

Re: if skript

but if field1 = '001' and i must know third mark is = '1'?

If ( Field1 = '1','3319',

if(Field1 = '5','3317'))

New Contributor II

Re: if skript

Hi

have you any ideas this calculation dimension

how the script goes

if field1 = ('1','10) sum (field2 /0,85) otherwise take (field3)

if field4 = ('9225', '9153', '9161', '9122', '9104') field1 = ('1','10) sum (field2 / 0,9) otherwise take (field3)