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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
MoxieMeister
Contributor II
Contributor II

Qlik Sense subfield for variable

Hi all,

I need read variable "Currency" to subfield, but catch error. 

This.png

1 Solution

Accepted Solutions
DavidM
Partner - Creator II
Partner - Creator II

You are resident loading from table and use no fields. What do you expect out of this? If your expected outcome is:

1GBP

2GBP

...

you need to do:

load
return&subfield('$(Currency)',';',1)  as Currency
resident t1;

 

View solution in original post

2 Replies
marcus_sommer
MVP
MVP

What's the aim behind your logic?

- Marcus

DavidM
Partner - Creator II
Partner - Creator II

You are resident loading from table and use no fields. What do you expect out of this? If your expected outcome is:

1GBP

2GBP

...

you need to do:

load
return&subfield('$(Currency)',';',1)  as Currency
resident t1;