Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reusing Expressions

I just started learning QlikView, and I am learning by watching video in youtube.  I came across this video, and I have a question.   Why do we keep the variable in an Excel file, can't we just do them all in the script area?  If we can do it in script area, is there any advantage(s) to do it Excel vs script area?

Thanks in advance.

Phyllis

Reusing Expressions - YouTube

3 Replies
swuehl
MVP
MVP

For example, if your variable contains dollar sign expansions $() to be expanded on front end, I think it's easier to define these in an external file (e.g. excel) than in a SET / LET statement (where QV tries to expand the dollar sign expansion in the script).

Anonymous
Not applicable
Author

If you keep expressions externally to a specific script [maybe in an Excel file] , then they can be used in multiple qvw's.

An example could be rgb colour expressions for corporate colours.

Siva_Sankar
Master II
Master II

qlikfix.com/2011/09/21/storing-variables-outside-of-qlikview/