Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
On Demand Webinar: See Why Thousands of QlikView Users Have Switched to Qlik Sense. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
kkarlste
Contributor II
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
sewialwork
Partner
Partner

Try this:

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

AGB

View solution in original post

4 Replies
shraddha_g
Partner
Partner

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

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

sewialwork
Partner
Partner

Try this:

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

AGB

View solution in original post

kkarlste
Contributor II
Contributor II

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

                        

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

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

kkarlste
Contributor II
Contributor II

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)