Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

Expression =if( [company_ar]|=[CASH SALES],[company_ar]) not working ?

Hi All

I have a Table 1.

The dimension field =

=company_ar

I dont want it to display CASH SALES  :-

I use below expression :-

=if( [company_ar]|=[CASH SALES],[company_ar])

it does not work. Can some one advise me ?

Paul

1 Solution

Accepted Solutions
brunobertels
Master
Master

Hi

Try this expression

=if( [company_ar]<>'CASH SALES',[company_ar])

View solution in original post

6 Replies
paulyeo11
Master
Master
Author

Mt QVF

brunobertels
Master
Master

Hi

Try this expression

=if( [company_ar]<>'CASH SALES',[company_ar])

paulyeo11
Master
Master
Author

Thank you sir

paulyeo11
Master
Master
Author

Hi All

=if( [company_ar]<>'CASH SALES',[company_ar])


Above expression working fine , Now i like add one more condition 'EXPORT SALES'


I try below expression it does not work.


=if( [company_ar]<>'CASH SALES' or 'EXPORT SALES',[company_ar])

=if( [company_ar]<>'CASH SALES' and 'EXPORT SALES',[company_ar])


Can some one help me,

Paul Yeo


brunobertels
Master
Master

Hi

Try this

=if( [company_ar]<>'CASH SALES' or [company_ar]<> 'EXPORT SALES',[company_ar])

if( [company_ar]<>'CASH SALES' and  [company_ar]<>'EXPORT SALES',[company_ar])

paulyeo11
Master
Master
Author

Hi Bruno


it work fine , thank you.


if( [company_ar]<>'CASH SALE' and  [company_ar]<>'EXPORT SALES',[company_ar])


Paul