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

Announcements
Discover how organizations are unlocking new revenue streams: Watch 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
Contributor

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

marcus_sommer

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