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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
loganathan
Contributor III
Contributor III

Min Amount from Rangesum

Hi All,

My current measure is 'RangeSum({<SUM({Flag={181}>}Amount1),SUM({Flag={181}>}Amount2))' and i need fine Min from this measure. Please let me know how i can achieve this. attached the sample data.

Expected min value is -300

 

Labels (2)
2 Replies
mdf
Contributor II
Contributor II

This should work: MIN(AGGR({<FLAG={'181'}>}SUM(AMOUNT1+AMOUNT2) ,ID))

marcus_sommer
MVP
MVP

Try: RangeMin( { < Flag={181} >} sum(Amount1), SUM(Amount2))