Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering QlikView
  • Table Of Contents Toc
  • Feedback & Rating feedback
Mastering QlikView

Mastering QlikView

By : Stephen Redmond
4.5 (10)
close
close
Mastering QlikView

Mastering QlikView

4.5 (10)
By: Stephen Redmond

Overview of this book

If you are a business application developer or a system analyst who has learned QlikView and Qlik Sense and now want to take your learning to a higher level, then this book is for you. It is assumed that you are aware of the fundamentals of QlikView and have working knowledge of development and in-memory analytics.
Table of Contents (9 chapters)
close
close
8
Index

Understanding Dollar-sign Expansion

Dollar-sign Expansion is a process that allows us to replace text in an expression, or line of script, with either the value of a variable or some other calculation.

Suppose that we have a variable with a value of 10 and we write an expression like the following:

Sum(If(Field1=$(vValue), 1, 0))

The Dollar-sign expression, $(vValue), will get expanded to its value (10) and the expression that gets executed will be as follows:

Sum(If(Field1=10, 1, 0))

We can also have a calculation inside the Dollar-sign expression like the following:

If(Year=$(=Year(Today())), LightGreen())

In this case, the function Year(Today()) will be calculated and its value replaced into the main expression in the following manner:

If(Year=2014, LightGreen())

We do have to be aware that it is the exact value of the Dollar-sign expression that is replaced into the main expression, and it becomes as if we have typed that value there. Therefore, if it is a string value rather than a numeric...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY