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: 
lawrenceiow
Creator II
Creator II

Value from specified row in chart table

I have a need to retrieve the value from a specified row of a column in a chart and use it in every row.

As an example:

DateQtyAverageSpecial=fabs(Average*(RowNo()=3))
01/05/201510101400
02/05/201520152100
03/05/20151214196196
04/05/2015912.75178.50
05/05/20151813.8193.20
06/05/201521152100

So, the special column multiplies the figure from the average column with the value in the 3rd row of the average column.  If I create an expression =fabs(Average*(RowNo()=3)) I get the number I want but only on the 3rd row. How do I write the expression to get the values as shown in the Special column?

Labels (1)
1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

You can use:

Top(TOTAL [Average], 3 )

View solution in original post

5 Replies
petter
Partner - Champion III
Partner - Champion III

You can use:

Top(TOTAL [Average], 3 )

sunny_talwar
MVP
MVP

This is awesome Petter‌. Thanks for introducing me to another function in QlikView.

Best,

Sunny

lawrenceiow
Creator II
Creator II
Author

Excellent, thanks @Petter_Skjolden. Such a quick answer too.

petter
Partner - Champion III
Partner - Champion III

That's exactly what I like about QlikView - being able to discover new useful techniques after years of using it

sunny_talwar
MVP
MVP

I second that.

Although I am still a new to QlikView, but I have learnt a whole lot by just being active on the community. I learn less by answering to the things I know, but more from looking at other peoples responses which gives me new ideas.