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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to obtain a row's value in a calculated column??

I've a table with two colums. The second is a calculated field. This table the ordered descending by this calculated field, and show only the top 15 values​​. Now,I need to highlight the top 3, but i can't select the value from 3th row. I know i can use visual effects to highlight values, but i need a value to compare. How can obtain a value from 3th row??

Tengo una tabla de dos columnas, cuya segunda columna es un campo calculado. Esta tabla la ordeno descendentemente por este campo calculado, y muestro solo los primeros 15 valores. Ahora lo que necesito es resaltar los 3 primeros. Se que se puede hacer mediante la pestaña de efectos visuales, pero, al ser un valor calculado, como puedo seleccionar el valor de la tercera fila, para decirle que coloree solo los que son mayores??

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try using the rank() function. And it's probably easier to use the color options you can find if you click on the + sign in front of the expression on the Expressions tab. See attached qvw


talk is cheap, supply exceeds demand

View solution in original post

6 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Did you tried with RowNo()?

tresesco
MVP
MVP

Or,

your rows are ordered, hence your 3rd row could be caught using rank() function with a parameter '3'.

Not applicable
Author

try to use rowno() , or recno()

Not applicable
Author

Thanks everybody.

I tryed to used rowno(), rank(), and fieldvalue(), but i can't catch a value. I use a grafic object to show information (Top 15 Backlog.....) , and i show two colums (requestor location name and Tickets). Tickets are a calculated field. The graphic is ordenated and limited by 15th first values, and i want to highlight the top 3. I need catch the value of 3th row.

Gracias a todos,

ya habia probado a usar rowno(), rank() y fieldvalue(), pero no consigo hacerme con el valor. Estoy usando un grafico para mostrar la información (el que se ve en la imagen como Top 15 backlog...), y en el muestro dos columnas. La columna Tickets es un campo calculado, por medio de una formula. La tabla esta ordenada y limitada a los 15 primeros valores, y quiero resaltar los tres primeros. Necesito hacerme con el valor de la tercera fila.

helpme.jpg

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try using the rank() function. And it's probably easier to use the color options you can find if you click on the + sign in front of the expression on the Expressions tab. See attached qvw


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks everybody.

The Wassenaar's solution this right.