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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
syukyo_zhu
Creator III
Creator III

variable

Hi,

I want to know if these is way to get value of an variable from another application qlikview, the same way like "binary" for get data from another application.

I can't write my variable in file text because the variable can be changed by user.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You can try parsing the values using the XML code that is part of each QVW (you can load the XML code using the wizard), it looks like

<VariableDescription>

  <Name>vMax</Name>

  <IsConfig>false</IsConfig>

  <IsReserved>false</IsReserved>

  <ShownValue></ShownValue>

  <RawValue>3</RawValue>

  <Comment></Comment>

</VariableDescription>

View solution in original post

3 Replies
swuehl
MVP
MVP

You can try parsing the values using the XML code that is part of each QVW (you can load the XML code using the wizard), it looks like

<VariableDescription>

  <Name>vMax</Name>

  <IsConfig>false</IsConfig>

  <IsReserved>false</IsReserved>

  <ShownValue></ShownValue>

  <RawValue>3</RawValue>

  <Comment></Comment>

</VariableDescription>

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I think you can write a VBScript macro that opens the other document and retrieves the value of the variable from it. The challenge here, besides the trouble of writing a macro like that, is that opening a large document is quite slow.

Then, if you are loading that other document via BINARY already, then you can store your variables in a table and get the table loaded by the BINARY load.

Regarding your last comment - if your other application is running on the server and the users can enter the variable values, then nothing I said would work. Keep in mind that the variable values can be different for different users, so it's not quite easy to fetch the value that you are after...

cheers,

Oleg Troyansky

Check out my new book QlikView Your Business: An expert guide to Business Discovery with QlikView an...

Ask me about Qlik Sense Expert Class!
syukyo_zhu
Creator III
Creator III
Author

Hi,

i try your solution,il it work fine.

Then i use function "match" to get only 2 variables which i need for my second application.

Thanks