0

I am trying to use computerelative transformation to calculate running total and running into this error:

Transform dim/mea not found in Edgemart

My SAQL is

case when previous('weeklymeasure') == null then current('weeklymeasure') else (current('weeklymeasure') + previous('fieldnameofthiscomputedfield')) end
0

Try this:

case when previous('fieldnameofthiscomputedfield') is null then current('weeklymeasure') else (current('weeklymeasure') + previous('fieldnameofthiscomputedfield')) end

| improve this answer | |
New contributor
James K is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.