Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Carlaf_93
Creator II
Creator II

Formula's in Script

Good morning,

i have a table like this:

[TABLE1]:

load

YEAR,

MONTH,

CODE,

CATEGORY,

VALUE

FROM [];

i would like to create a new measure that when -->

CODE= 'WWW1','WWW2', 'WWW3'    AND     CATEGORY = 'AA0'

it gives me a Value like---> Value * 0.8  as VALUE and for all the others value it gives the original field VALUE

 

Thanks

0 Replies