Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
anriretief
Contributor III
Contributor III

QlikView expression not working in Qlik Sense

I converted my QlikView document to Qlik Sense

I have a pivot table in Qlik Sense that is identical to the one in the QlikView dokument

But for some reason the following expression works fine in QlikView but not in Qlik Sense

IF(SUM({<LIDNO-={'',' *'}>}MASSA)<>0,SUM({<LIDNO-={'',' *'},KONTRAKNOMMER={'N*'}>}if(match(LEFT(KONTRAKNOMMER,3),'NPO','NW2','NW1','NW3'),MASSA_VASGEMAAK,MASSA_OOREENGEKOM)),0)

Any help would be appreciated

Thanks in advance

1 Solution

Accepted Solutions
ryo_okabe
Partner Ambassador
Partner Ambassador

Hi,

You should use double quote if you want to use wildcard in set expression.

IF(SUM({<LIDNO-={''," *"}>}MASSA)<>0,SUM({<LIDNO-={''," *"},KONTRAKNOMMER={"N*"}>}if(match(LEFT(KONTRAKNOMMER,3),'NPO','NW2','NW1','NW3'),MASSA_VASGEMAAK,MASSA_OOREENGEKOM)),0)

View solution in original post

2 Replies
ryo_okabe
Partner Ambassador
Partner Ambassador

Hi,

You should use double quote if you want to use wildcard in set expression.

IF(SUM({<LIDNO-={''," *"}>}MASSA)<>0,SUM({<LIDNO-={''," *"},KONTRAKNOMMER={"N*"}>}if(match(LEFT(KONTRAKNOMMER,3),'NPO','NW2','NW1','NW3'),MASSA_VASGEMAAK,MASSA_OOREENGEKOM)),0)
anriretief
Contributor III
Contributor III
Author

Thank you!