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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
vvvvvvizard
Partner - Specialist
Partner - Specialist

sum poitive numbers

Imagine a table with the  sum of the expression below for each dimension of seglevel1  , sum all those numbers in the table that are positive for that value of seglevel1 , thats the total number i need please

Sum({< [Segment IS5_Description] ={'Headline Earnings'} >} ActZarYtd)

Labels (1)
1 Solution

Accepted Solutions
vvvvvvizard
Partner - Specialist
Partner - Specialist
Author

=Sum(Aggr(

IF(Sum({<[Segment IS5_Description] ={'Headline Earnings'}>} ActZarYtd)<0,
Sum({<[Segment IS5_Description] ={'Headline Earnings'}>} ActZarYtd),0)

,Segm_L1_Desc))

View solution in original post

1 Reply
vvvvvvizard
Partner - Specialist
Partner - Specialist
Author

=Sum(Aggr(

IF(Sum({<[Segment IS5_Description] ={'Headline Earnings'}>} ActZarYtd)<0,
Sum({<[Segment IS5_Description] ={'Headline Earnings'}>} ActZarYtd),0)

,Segm_L1_Desc))