You are on page 1of 17

Getting Started with QlikView Objects Gauge, Text Objects and Images

Description

BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Beginners G ide !or "li#view $eport, %ashboard and %ata &odels. The doc ment !oc ses on Ga ge, Pivot Tables and $adar 'hart. (oin o r pro!essional training program and learn !rom e)perts.

Histor*+ ,ersion ../ ../

%escription 'hange Initial %ra!t $eview1/

- thor S rbhi Sah $a2# mar 3

P blish %ate 0/st - g 0./0 04th - g 0./0

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page /

Table of Contents
Table o! 'ontents......................................................................................................................... 0 Te)t 5b2ects+............................................................................................................................... 6 .................................................................................................................................................... 7 /.Enplaned passenger8In millions9+........................................................................................... : 0.$even e passenger per mile8In millions9 +............................................................................. 4 6.-vailable seats 8In millions9+................................................................................................. // ;.%epart re per!orm8In tho sand9+......................................................................................... /0 %ispla* Image sing te)t ob2ect+................................................................................................ /;

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page 0

Text Objects:
Te)t ob2ects are sed !or adding in!ormation to a "li#,iew doc ment. The* can be sed to show te)t in!ormation or an image in the la*o t. The* can be moved and positioned an*where on a sheet, 2 st li#e an* other sheet ob2ect. Te)t ob2ects can also be sed e!!ectivel* !or displa*ing the res lts o! calc lations, and to create bac#gro nds. Thin# o! a Te)t ob2ect as a blan# ob2ect !or content. <o can se it to create an introd ction page !or *o r "li#,iew application, or simpl* to displa* the data model that s pports *o r anal*sis. Te)t ob2ects can also be sed !or pict res and can also contain calc lations. =e can insert te)t or Image b* browsing the location where *o r images are saved.

>or implement te)t ob2ects right clic# on the sheet-?3ew Sheet 5b2ects -?Te)t 5b2ect This will create the te)t ob2ect, now go to the general tab and enter the title !rom which *o want to create *o r te)t ob2ect. =e can give the te)t or can give the e)pression to displa* in the te)t ob2ect. -?o# -?-ppl*

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page 6

3avigate to the caption tab and give the title @Transported passengersA with it the te)t ob2ect will created.

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page ;

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page B

The te)t ob2ect created is shown below.

Coo# here the caption is not clear or not displa*ed properl* so we will go thro gh the caption tab and chec# the option Dwrap te)t, this will spread the te)t thro gh all the te)t ob2ect.

Then -?-ppl* then-?o# 3ow the te)t ob2ectEs caption is wrapped into 0 lines as shown below.

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page 7

=e can change the te)t st*le o! the te)t ob2ect in the >ont tab

-? -ppl* -? 5#.

3ow we will see how to achieve o r below #piEs b* sing the te)t ob2ect. /.Enplaned passenger8In million9 0.$even e passenger per mile8In million9 6.-vailable seats 8In million9 ;.%epart re per!orm8In tho sand9

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page F

1.Enplaned passenger(In millions):


-s we can sa* transported passenger or the enplaned passengers, we have to calc late this beca se we have to !ind o t the total no o! passengers travelled so !ar across all *ears. 3ow we will go thro gh the te)t ob2ect and go to the general tab then add e)pression here. >or implement te)t ob2ects right clic# on the sheet-?3ew Sheet 5b2ects -?Te)t 5b2ect Here the e)pression to be written is DG3 m8S m8H1Transported PassengersIJ%istance9K/......9

The e)pression we sed was pre!i)ed with an G 8eL al to9 sign. This is to tell "li#,iew to treat the entered te)t as an e)pression and eval ate it accordingl*, instead o! treating it as a static te)t. The Te)t ob2ect does not have the 3 mber properties tab which is o!ten seen on other ob2ects, that is wh* we sed the 3 m89 ! nction to properl* !ormat the e)pression o tp t. Here we have ta#en the !ield as no o! transported passenger and divide b* /...... beca se we wants the res lt in millions and here we have given the !ormat on which we wants to displa* o r res lt. 3ow here in the te)t ob2ect the e)pression starts displa*ing n meric instead o! te)t.

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page :

3ow the te)t ob2ect is created..................

Here the val e denotes the s m o! transported passengers..............

2.Re en!e passenger per mile(In millions) :


$even e passenger means the n mber o! miles that passengers were transported. This will calc lated b* m ltipl*ing b* distance and we want the res lt in miles so we will divide it b* /...... and give its !ormat also....... >or implement te)t ob2ects right clic# on the sheet-?3ew Sheet 5b2ects -?Te)t 5b2ect Edit the e)pression in the e)pression tab-?then o#.

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page 4

Then -?-ppl* then-?o#

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page /.

This will create o r second #pi.........

".# ailable seats (In millions):


-vailable seats stands !or the total n mber o! miles that pa*ing passengers co ld have been transported, based on airplane capacit*. This #pi is reL ired to identi!* the no o! available seat miles the airline ind str* has given so !ar across all *ears to all the passengers. >or implement te)t ob2ects right clic# on the sheet-?3ew Sheet 5b2ects -?Te)t 5b2ect

here we have se the e)pression G3 m8S m8H1-vailable SeatsIJ%istance9K/......9 we have m ltiplied the -vailable seats into %istance then divide it b* /...... beca se we wants to res lt in millions. then o# Then -?-ppl*-?o#

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page //

3ow o r third #pi is created which is

3ow moving thro gh o r ne)t #pi which is

$.%epart!re perform(In t&o!sand):


To #now all the depart res per!ormed w.r.t all the !lights or carriers across all *ears. >or implement te)t ob2ects right clic# on the sheet-?3ew Sheet 5b2ects -?Te)t 5b2ect goto the e)pression tab here we have edit the e)pression as G83 m8s mH1 %epart re per!ormedI99 and divide it b* tho sand this will give the res lt in millions.Then -?o#

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page /0

Then -ppl* then-?o#

This will create the #pi depart re per!orm

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page /6

%ispla' Image !sing text object:


- te)t ob2ect can also be sed to displa* an image. >or e)ample, we ma* want to displa* a small MwarningM icon on o r Enplaned Passengers te)t ob2ect whenever the amo nt o! passengers is lower than / million. =e can achieve that b* !ollowing these steps+

>rom here *o can browse the location o! the image where the image is saved.............

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page /;

Then the image will appear we will ad2 st the image in o r te)t bo) Transported passenger.

3ow we will give the condition within this te)t bo) go to the la*o t tab here clic# on the conditional col mn this will open the window !or the e)pression. T*pe the e)pression here which *o wants to set !or the appearance o! the image the condition will be the S m81Transported passenger9N/...... i! the limit o! transported passenger lie below /...... this will appear the warning image.

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page /B

Then the window will open on which e)pression will be added as shown below.

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page /7

Coo# here the both te)t ob2ect in the te)t ob2ect / o r limit goes below / millions the warning image appear and when the limit e)ceeds !rom / millions as shown in image 0 the image will disappear.

www.bispsol tions.com

www.bisptrainigs.com

www.h*periong r .com

Page /F

You might also like