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

min of a set analysis composed

Hello,

I need to have the min of this set analysis :

(sum({<$(MTD)>} CALLSANSWERED) - sum({<$(MTD)>}CALLSANSWEREDAFTTHRESHOLD))

/

sum({<$(MTD)>}CALLSANSWERED)

Thanks for help

(I used Min like that but it doesn't works :

Min(

(sum({<$(MTD)>} CALLSANSWERED) - sum({<$(MTD)>}CALLSANSWEREDAFTTHRESHOLD))

/

sum({<$(MTD)>}CALLSANSWERED)

)

)

1 Reply
Anil_Babu_Samineni

As always this returns single value only, So that is Min only. To get rid work you need

Min(Aggr((sum({<$(MTD)>} CALLSANSWERED) - sum({<$(MTD)>}CALLSANSWEREDAFTTHRESHOLD))

/sum({<$(MTD)>}CALLSANSWERED), Dim1, Dim2))

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