G
Guest
Hello
I've had to create a custom running sum function to be able to calculate the cumulative sum of a column in a query. I then export the query results to excel to be able to graph the information and perform other operations
My problem is that, although the running sum function does calculate the value properly, when I export the data it is not in a "numerical" format. when I try to graph it values I get a flat line. The function I used was taken form this foru
Function Running_Sum(MyVar As Integer
Rsum = Rsum + MyVa
Running_Sum = Rsu
End Functio
And in my qdf I simply call this function "Running_Sum([Value]) AS [Cumulative Value]
Can someone tell me what is wrong and more importantly how this problem can be overcome
Thank you very muc
Daniel
I've had to create a custom running sum function to be able to calculate the cumulative sum of a column in a query. I then export the query results to excel to be able to graph the information and perform other operations
My problem is that, although the running sum function does calculate the value properly, when I export the data it is not in a "numerical" format. when I try to graph it values I get a flat line. The function I used was taken form this foru
Function Running_Sum(MyVar As Integer
Rsum = Rsum + MyVa
Running_Sum = Rsu
End Functio
And in my qdf I simply call this function "Running_Sum([Value]) AS [Cumulative Value]
Can someone tell me what is wrong and more importantly how this problem can be overcome
Thank you very muc
Daniel