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: 
Shubham_Deshmukh
Specialist
Specialist

Exclude Max value product using script

Hi Qlikers,

It is quite simple but m getting confuse for this in scripts. I want to exclude max value product (D) from my list to show in straight table, I am extracting below data from excel sheet.

PRODUCTValue
A10
C20
D30
E40
E50
D90

Expected output   :

PRODUCTValue
A10
C20
E40
E50

 

Thanks

Labels (2)
13 Replies
tresesco
MVP
MVP

Subham, 

That is pretty obvious. You are doing a basic mistake. E has two values and when you use '=Value' expression it would not be able to two values, you should rather use Sum(Value) as expression.

 

You might want to Like and close the thread.Smiley Tongue 

Shubham_Deshmukh
Specialist
Specialist
Author

@tresesco , I tried it before also still shows the same.


xx.png

 

jyothish8807
Master II
Master II

There seems to be an "if" condition on your dimension, can try removing it and check ? The solution from @tresesco  should work

Best Regards,
KC
Shubham_Deshmukh
Specialist
Specialist
Author

@jyothish8807 , Ya my mistake, Sorry.

Thanks @tresesco , your solution working fine.

THanks @jyothish8807 .