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: 
tim_leijen
Contributor III
Contributor III

How to do a YTD calculation

Hi all,

After reading some of the posts on YTD calculations, I came to the below formula, however it seems I've done something wrong.

Any idea where I made a mistake in this formula?

1 Solution

Accepted Solutions
sunny_talwar

Before and ColumnNo() are used in Pivot table... try with Above and RowNo() instead

RangeSum(Above(Sum({<GL_1 = {VOL}, Dimension = {RFC}>} Data), 0, RowNo()))

View solution in original post

2 Replies
sunny_talwar

Before and ColumnNo() are used in Pivot table... try with Above and RowNo() instead

RangeSum(Above(Sum({<GL_1 = {VOL}, Dimension = {RFC}>} Data), 0, RowNo()))

tim_leijen
Contributor III
Contributor III
Author

Thanks Sunny! It worked!