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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Saravanan024
Contributor II
Contributor II

Set Analysis support required

Support is needed to change the formula below when utilising the pivot chart option. I would prefer the accumulated value to be displayed by column rather than by row.  This will produce the outcome by adding the values side by side rather than using the rangesum above.

(

RangeSum(Above(TOTAL sum

( {$<,

Year={$(=max(Year))}>} Quantity_Consumed )

, 0, RowNo(TOTAL)))

)

-

RangeSum(Above(TOTAL sum( {<Flag = {'Target'}, Year={$(=max(Year))}>}[Target Value]), 0, Aggr(RowNo(), Month, Market))

)

Labels (2)
1 Solution

Accepted Solutions
marcus_sommer

By using before() / after() instead of above() / below() and changing rowno() to columnno() you could adjust the direction from vertically to horizontally.

View solution in original post

1 Reply
marcus_sommer

By using before() / after() instead of above() / below() and changing rowno() to columnno() you could adjust the direction from vertically to horizontally.