Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
satishqlik
Creator II
Creator II

need help

Hi All,

Subject: I've issue with call variable after the upgradation.

I've upgraded Qliksense 3.2 to June 2017 successfully.

But after this, my variable is not working.

1.JPG

I've  defined my variable as like below:


2.JPG

in earlier version(3.2) it's working fine.

But after upgradation, it's throwing an error with the variable.I tried without variable like below.This is also working fine as I expected.

3.JPG  


Can someone suggest what might be the issue and how to over come??


Any suggestion will be appreciated.


Thanks in advance.





1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

If the script with ${...} worked before, then it was permitted due to bug (or at least much greater latitude for syntax without throwing errors). It looks like that option has now been closed. The "correct" syntax has always been $(...).

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

9 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

What I can see if you have used the {} brackets instead of ().

So change the brackets and it should work.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
ksomosera10
Creator II
Creator II

Hi Satish,

Good day.

You can try this instead:

DIM_RespondentRaw:

Load *

FROM [lib://BG_Qlik([SERVER])/$(vQvdBaseDir)/Extracts_BG/DIM_Respondent.qvd] (qvd);

Thanks!

satishqlik
Creator II
Creator II
Author

Thanks for all your responses..

That will great help if you can elaborate why in new version its not working as its working in earlier version..?

jonathandienst
Partner - Champion III
Partner - Champion III

If the script with ${...} worked before, then it was permitted due to bug (or at least much greater latitude for syntax without throwing errors). It looks like that option has now been closed. The "correct" syntax has always been $(...).

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
ksomosera10
Creator II
Creator II

Hi Satish,

Just a question.

Are you using QS v3.2 SR3?

Thanks!

satishqlik
Creator II
Creator II
Author

Yes Kevin, and Upgraded QS 3.2 SR3 to June-2017.

ksomosera10
Creator II
Creator II

Same as what @Jonathan says, it's true that using QS 3.2 SR3 there has been some bugs on the variable call script. That explains why you've encountered a different behavior of the application.

From now on, you can now use the '$()' to call a variable rather than the old way.

I hope it helps.

satishqlik
Creator II
Creator II
Author

Thanks again for all your clarifications!!!

ksomosera10
Creator II
Creator II

You are always welcome Satish!