Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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))