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: 
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!