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: 
zakpullen
Creator
Creator

Finding FieldValue from a specific table in script

Hi,

Is there  a way to specifiy the table the field value should be returned from? This line is from a master calendar.

Max(FieldValue('PeriodDate', RecNo())) as MaxDate

Many thanks

Labels (1)
1 Solution

Accepted Solutions
rubenmarin

Hi, FildValue() uses all values of the field, witout specifying the table. In the table you want to retrieve values you can add a field like "PeriodDate as PeriodDateCalendar" and use this field to iterato through it's values.

Also you can do a resident load but it will be slower if the table has many records.

View solution in original post

2 Replies
rubenmarin

Hi, FildValue() uses all values of the field, witout specifying the table. In the table you want to retrieve values you can add a field like "PeriodDate as PeriodDateCalendar" and use this field to iterato through it's values.

Also you can do a resident load but it will be slower if the table has many records.

zakpullen
Creator
Creator
Author

Thank you!