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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
bsbernabe
Creator
Creator

if> less

Hi There,

     I have concern here if the Field>1500 i need to less 10 how can i do that in expression of qlikview?

Regards,

Bing

5 Replies
Anil_Babu_Samineni

Not entirely clear, But

If(Field>1500, If(field<10, Measure))

OR

If(field>1500, Count({<field = {'<10'}>} Measure))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
its_anandrjs
Champion III
Champion III

What is your expression?

bsbernabe
Creator
Creator
Author

Disregards this post

Anil Babu  and Anand thank you

its_anandrjs
Champion III
Champion III

Do some thing this

Ex:-

Expression

if(Field > 1500,  Sum(Amount)-10, Sum(Amount) )

devarasu07
Master II
Master II

Hi,

like this?

Method 1:

create a calculated measure in your chart object

if(sum(Sales)>1500, sum(Sales)-10, sum(Sales))


Method 2: using back end script method,

Load *, if(Sales>1500, Sales-10, Sales) as [Sales New];

LOAD * INLINE [

    Product, Sales

    A, 1500

    B, 1700

    C, 1400

    D, 1550

];

Capture.JPG