Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Syntax Calculation

hi i have the following problem

using a dimension table pivot i am calculating stock level available.

i use the following Expression.

[Lagersaldo]

-

RangeSum(Above(sum(Order),0, rowno()))

+

RangeSum(Above(SUM(Purchased),0, rowno()))

however when i add another dimension to the table and expand the expression fails to act in the way intended.

any advice. please see attached document.

Labels (1)
1 Solution

Accepted Solutions
Clever_Anjos
Support
Support

''Trick' way

Use WeekNo as an expression, not a dimension

View solution in original post

2 Replies
Clever_Anjos
Support
Support

''Trick' way

Use WeekNo as an expression, not a dimension

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

You may need to add total to the Above statements, eg

RangeSum(Above(TOTAL sum(Order),0, rowno()))


Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein