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: 
Vittore8
Creator
Creator

Aggr SetAnalysis

Vittore8_1-1594279905453.png

I need to get the minimum value from column F by excluding the values of column F where column E is empty

please tell me how to do this using set analysis

Labels (1)
2 Solutions

Accepted Solutions
Taoufiq_Zarra

Maye be :

=Min({<E={"=len(E)>0"}>} F)

 

output :

Capture.PNG

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

Vegar
MVP
MVP

Try this:

=Min({<E={"*"}>} F)

(Assuming that E is null() or missing when empty) 

View solution in original post

4 Replies
raji6763
Creator II
Creator II

hi @Vittore8 ,

you can try this

load*inline [
E,F
a,12
b,3
c,2
d,4
,5
,3
,3

]
where len(E)>0;

 

then use min(F) in set analysis

Taoufiq_Zarra

Maye be :

=Min({<E={"=len(E)>0"}>} F)

 

output :

Capture.PNG

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
Vegar
MVP
MVP

Try this:

=Min({<E={"*"}>} F)

(Assuming that E is null() or missing when empty) 

tresesco
MVP
MVP

Please refrain from posting duplicate threads. Did you try the solution I proposed here: https://community.qlik.com/t5/New-to-Qlik-Sense/MinString-Date/m-p/1726354/highlight/false#M167405 ?