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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
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