Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
aminehaddar
Contributor II
Contributor II

edit an expression in table by month

Hello the community,

I have this table:

date sum(valeur)/3
201701684
2017021548
2017033253
2017044802
2017056297
2017067553
2017078149
2017088564
2017099151
20171010146
20171111237
20171212000

The problem is that these number are incremental by month.

I need to have this result:

datesum(valeur)/3
201701684
201702864
2017031705

...

Anyone can help please?

Regards

1 Solution

Accepted Solutions
YoussefBelloum
Champion
Champion

8 Replies
YoussefBelloum
Champion
Champion

Hi,

try this:

=sum([sum(valeur)/3])- RangeSum(Above([sum(valeur)/3]),RowNo())


above.png

sunny_talwar

In the script or front end?

aminehaddar
Contributor II
Contributor II
Author

I got this:

date sum(valeur)/3x
201701684-1
2017021548-686
2017033253-1551
2017044802-3257
2017056297-4807
2017067553-6303
2017078149-7560
2017088564-8157
2017099151-8573
20171010146-9161
20171111237-10157
20171212266-11249

Any suggestion?

aminehaddar
Contributor II
Contributor II
Author

frond end bro,

in the expression section

YoussefBelloum
Champion
Champion

here is my QVW

sunny_talwar

I think the expression should be this

=RangeSum(Sum([sum(valeur)/3]), -Above([sum(valeur)/3]))

or this

=RangeSum(Sum([sum(valeur)/3]), -Above(TOTAL [sum(valeur)/3]))

aminehaddar
Contributor II
Contributor II
Author

Thanks bro

YoussefBelloum
Champion
Champion

haha Sunny we had already faced the same problem.. I'm not gonna ask you why we Should use this or the other