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: 
Not applicable

Getting the a field value relative to the current fieldvalue selection

I have a table of financial years

2009-2010

2008-2009

2007-2008

2006-2007

If 2009-2010 is selected I want to use the previous year 2008-2009 in an expression.

Any ideas please.

1 Solution

Accepted Solutions
Not applicable
Author

Hi Adrian,

let me suggest to create a Fiscal Year. See the attached example.

Not exactly what you want but maybe a workaround.

Rainer

View solution in original post

5 Replies
Not applicable
Author

Hi Adrian,

let me suggest to create a Fiscal Year. See the attached example.

Not exactly what you want but maybe a workaround.

Rainer

Not applicable
Author

Hi,

Here is another solution viewing the last data when no one is selected.

Best regards.

Not applicable
Author

Rainer,

Thanks your solution will work for me.

Just wondered if you can reference get a value or string back from a field by referencing its row number?

avastani
Partner - Creator III
Partner - Creator III

Hi,

were you ever able to get it based on the rowno(). that is what i am trying to do

Not applicable
Author

No I did not but I did find out the solution to my original problem. Miquel asked it the format of the field I was trying to filter on was the same everywhere.

I went and checked that the field contained a number for the date with no roundings. Later I noticed that the format of the field in one of my listboxes was different to the format elsewhere. Once I made them all the same it worked.

I can not understand how or why this makes a difference but it does it is very annoying.

Regards

Adrian