Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Range Sum

Hi, every one !

Hi all,
I need help with this expression , my problem is that,  is not adding the Promedio , someone has any idea how to solve it.


rangesum(above(sum(if(FPronostico>=FechaPT,Promedio)),0,731))


help.JPG




this is what I want to accomplish for every one column.


help2.JPG

Thank you a lot.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Thanks, Marco, I found my mistake.


Sum(Aggr(rangesum(above(if(FPronostico>=FechaPT,Promedio,0),0,Count(FPronostico))),GpoMat,FechaPT,FPronostico))


Resultado.JPG


View solution in original post

5 Replies
roger_stone
Creator III
Creator III

Why have you got four identical Promedio columns for a start? I can't see the connection between the first and second screenshots.

Anonymous
Not applicable
Author

Because each representing a week is the field fechaPT is a pivot table, is one expression

roger_stone
Creator III
Creator III

I must be missing something here. You're just adding 78,363.33 to each previous day's total?

MarcoWedel

Hi,

can you please post a sample application to test with?

thanks

regards

Marco

Anonymous
Not applicable
Author

Thanks, Marco, I found my mistake.


Sum(Aggr(rangesum(above(if(FPronostico>=FechaPT,Promedio,0),0,Count(FPronostico))),GpoMat,FechaPT,FPronostico))


Resultado.JPG