Rank: Newbie
Groups: Registered, Registered Users Joined: 3/3/2009(UTC) Posts: 2
|
when I use the return of Barssince as the period input parameter of Sum function, it promt me a error like that: --> This variable or expression must contain only constant data.
I don't know why.......
the code example:
x1:=Barssince(C>O); Sum(C=L,x1)>0
error occur....
thx a lot!!
metaken
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 4/27/2005(UTC) Posts: 126 Location: Italy
|
Use the sum function distributed with the free ASI ddl
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 10/28/2004(UTC) Posts: 121
|
You can often get around this message using the following logic where the number of periods is entered:
lastvalue(x1 +Prev -Prev)
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
The Sum function from this sites Forum DLL will also work with variable data.
Roy
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.