Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

''Trick' way

Use WeekNo as an expression, not a dimension

View solution in original post

2 Replies
Clever_Anjos
Employee
Employee

''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