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: 
shalinim1
Contributor III
Contributor III

Context variable

Hi,

I have a currency file which includes Currency ID, Currency Type From, Current Type To, Currency Rate.

I want to create the context variables for Currency rate for each currency type.

Example:

context variable for USD(from the currency file) with value of currency rate mentioned in that file.

context variable for GBP(from the currency file) with value of currency rate mentioned in that file.

Could anyone help me with this?

Labels (2)
2 Replies
manodwhb
Champion II
Champion II

@Shalini M​, with below ways you can do it.

 

1) you an construct context how do you ever want and iterate those using tFlowtoIterate and then read those and set to context.

2) after reading the file you need iterate records by record use the tjavarow and set as context variables in tjavarow .

 

Thanks,

Manohar

 

shalinim1
Contributor III
Contributor III
Author

@Manohar B​ Could you please be more specific in the steps? Im not getting your point.