Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
lobmeister165
Contributor III
Contributor III

Derived Fields not working in Qlik Sense Feb 2024 IR

I have just installed Feb 2024 on a lab server for testing.

Have imported one of our production apps (from Feb 2022 cluster) which uses derived fields for calendar dimensions using the DECLARE FIELD DEFINITION....FIELDS and DERIVE FIELDS FROM FIELDS .... USING .... script construction

There seems to be a bug with the derived fields  - it recognises them and shows them in field list but in expression editor it reports an error in expression with red border round field box and when using the derived fields in conjunction with a function - in this case the CLASS function it does not work and returns an error

This all works 100% OK in our Feb 2022 production environment

 

Has anyone else encountered this ?

Labels (2)
1 Solution

Accepted Solutions
lobmeister165
Contributor III
Contributor III
Author

Have now discovered this was due to variables being used in our bespoke script for driving date fields in multiple calendars, without wrapping in dollar syntax. This did work on Feb 2022, but it would appear that Feb 2024 is stricter when parsing the script and requires the dollar sign syntax if including variable references

View solution in original post

2 Replies
lobmeister165
Contributor III
Contributor III
Author

This is still happen in our production environment which has now been upgraded to February 2024 Patch 2

Anyone else experiencing this or have a fix ?

lobmeister165
Contributor III
Contributor III
Author

Have now discovered this was due to variables being used in our bespoke script for driving date fields in multiple calendars, without wrapping in dollar syntax. This did work on Feb 2022, but it would appear that Feb 2024 is stricter when parsing the script and requires the dollar sign syntax if including variable references