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: 
bluecarbon
Partner - Creator
Partner - Creator

Variable's Raw and Shown Value

Hi,

Someone please explain me what is the difference between Raw and Shown Value property of a variable.

Thanks,

Rakul.

9 Replies
swuehl
MVP
MVP

In what context have you encountered 'Raw' and 'Shown Value' for a variable?

petter
Partner - Champion III
Partner - Champion III

Is it the COM-API you are referring to?

petter
Partner - Champion III
Partner - Champion III

I guess you are - so here goes:

A RawValue is the stored value - not evaluated value of a variable.

Whereas the ShownValue is the the evaluated variable value.

bluecarbon
Partner - Creator
Partner - Creator
Author

I was referring to the API guide and came across shown value and raw value of a variable.

bluecarbon
Partner - Creator
Partner - Creator
Author

Yes

bluecarbon
Partner - Creator
Partner - Creator
Author

LET Test=5+6;

So can I consider 5+6 as Raw Value and 11 as Show value. I tried it out using a vb macro but still now getting any value for the RAW value. Can you explain the difference with an example?

Thanks,

Rakul.

swuehl
MVP
MVP

Try

SET Test = '=5+6';

and retrieve the raw and show value using the API

bluecarbon
Partner - Creator
Partner - Creator
Author

I tried with SET ='=5+6' and got Raw value as =5+6 but no value for Shown value.

bluecarbon
Partner - Creator
Partner - Creator
Author

Hi Petter,

Please shed some lights on Shownvalue, I tried multiple scenarios and I m still getting it as blank. I m still not sure what significance it brings to Qlikview.

Thanks,

Rakul.