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: 
Not applicable

Hi

Hi All,

I am new to Qlikview, could you please help me on this request?

Using set analysis how we can dynamically fetch the maximum value.

I used the following expression but which is not produce anything.

sum({1<[Shipping Fee]= {"$=(Max([Shipping Fee])"}>}[Order-Total])

17 Replies
its_anandrjs
Champion III
Champion III

Try this expression

sum({<[Shipping Fee]= {"$( =Max([Shipping Fee]) )"}>}[Order-Total])


Or


sum({1<[Shipping Fee]= {"$( =Max([Shipping Fee]) )"}>}[Order-Total])


And also you can try


sum({<[Shipping Fee]= {'$( =Max([Shipping Fee]) )'}>}[Order-Total])



Regards

Anand

narband2778
Creator II
Creator II

hi,

Change to

sum({1<[Shipping Fee]= {"$(=Max([Shipping Fee])"}>}[Order-Total])


HTH



KR,

Naresh

Anonymous
Not applicable
Author

HI,

try:

sum({1<[Shipping Fee]= {"$( =Max([Shipping Fee]) )"}>}[Order-Total])

or

sum({<[Shipping Fee]= {"$( =Max([Shipping Fee]) )"}>}[Order-Total])

Regards

Neetha

Not applicable
Author

Hi Anand,


Thanks, I tried with this expression but still I faced same issue, no result.

Not applicable
Author

Thanks, I tried with this expression but still I faced same issue, no result.

Not applicable
Author

Thanks, I tried with this expression but still I faced same issue, no result.

Anonymous
Not applicable
Author

Hi,

Please post sample data,So can help.

Regards

Neetha

Not applicable
Author

Customer-NameEmp-idOrder-dateOrder-MonthOrd-idOrder-TotalShip-DateShipping FeeStatusTax
Company A100012-Dec-122442145.5-0New0
Company A200013-Dec-121561365.5-0New0
Company A300014-Dec-12345245814-Jan-13200Closed0
Company B400015-Dec-12576015-Jan-13200New0
Company B500016-Dec-1248735716-Jan-1310Closed0
Company B600017-Dec-12654200.517-Jan-1310New0
Company C700018-Dec-1217818-Jan-1340Closed0
Company D800019-Dec-1238900
Company D900020-Dec-12344145220-Jan-1310Closed0
Company E1000021-Dec-122890
Company F1100022-Dec-12467214522-Jan-1315Closed0
Company G1200023-Dec-1254536523-Jan-1315New0
Company H1300024-Dec-12534214524-Jan-1345New0
Company I1400025-Dec-126560
Company J1500026-Dec-1267820026-Jan-13200Closed0
Company K1600027-Dec-12389241527-Jan-13200Closed0
Company L1700028-Dec-12445120028-Jan-13100New0
Company M1800029-Dec-12290136-0New0
Company N1900030-Dec-1218904Closed0
Company X2000026-Dec-12678100026-Jan-13200Closed0
Company Y2100027-Dec-12389245627-Jan-13200Closed0
Company Z2200028-Dec-1244540028-Jan-13100New0
Company X2300029-Dec-12290150-0New0
Company Z2400030-Dec-1218904Closed0
Company X2500026-Dec-12678100026-Jan-13200Closed0
Company Y2600027-Dec-12389245627-Jan-13200Closed0
Company Z2700028-Dec-1244540028-Jan-13100New0
Company X2800029-Dec-12290150-0New0
Company Z2900030-Dec-1218904Closed0
Company Z3000030-Dec-1218904Closed0

Not applicable
Author

If I give this expression

sum({<[Shipping Fee]= {200}>}[Order-Total]) working fine.

Note: Shipping Fee = 200 is maxmum value in my data