# New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
New Contributor

## Sum total with above not correct

Hi Everyone,

I need help for total result is not correct if someone can help Im begginer thanks

this my expression :

If(RowNo()=0 ,sum( aggr(FABS((Max(W_B1)))-above(Max(W_B1)),Date)),max(W_B1)-Above(max(W_B1)))/100

It should be get 24517,83 NOT 21873,82 Labels (3)

• ### Total

1 Solution

Accepted Solutions MVP

## Re: Sum total with above not correct

Can you try this

```Sum(Aggr(
If(RowNo() = 0, Sum(Aggr(fabs((Max(W_B1))) -Above(Max(W_B1)), (Date, (NUMERIC)))), Max(W_B1) - Above(Max(W_B1)))/100
, (Date, (NUMERIC))))```
6 Replies MVP

## Re: Sum total with above not correct

May be try this

```Sum(Aggr(
If(RowNo() = 0, Sum(Aggr(fabs((Max(W_B1))) -Above(Max(W_B1)), Date)), Max(W_B1) - Above(Max(W_B1)))/100
, Date))```
New Contributor

## Re: Sum total with above not correct

not work for me I get negative value.  MVP

## Re: Sum total with above not correct

Would you be able to share a sample to test this out?

New Contributor

## Re: Sum total with above not correct

OK  MVP

## Re: Sum total with above not correct

Can you try this

```Sum(Aggr(
If(RowNo() = 0, Sum(Aggr(fabs((Max(W_B1))) -Above(Max(W_B1)), (Date, (NUMERIC)))), Max(W_B1) - Above(Max(W_B1)))/100
, (Date, (NUMERIC))))```
New Contributor

## Re: Sum total with above not correct

thanks a lot it's work for me