Professional Documents
Culture Documents
1. Where do you create Dimension and Measure tags? How are they useful?
2. What is concept of Alternate States? Syntax for using in Set Analysis?
13. Difference between Set and Let?Difference between Rowno() and Recno()?
17. What are Value List and Value Loops?Tell me with scenarios?
24. What are the different Error Modes ? What are the different Script Errors?
25. Have you Used Bubble Sort? In which scenario we should use?
26. Have you plotted the Trellis Bar Chart and Stacked Bar Charts?
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Ans
Similar to detach.Alternate States are different states.Selection in one state does not effect objects in
The alt function returns the first of the parameters that has a valid number representation. If no such
Used in case of having more than one date fields
In its three-parameter version, this script function returns a given substring from a larger string s with
Keys between tables that are generated internally by QlikView in cases where there are several keys l
Finds the sum of all values of a given field..whereas rangesum() is used to find the sum of values give
Fieldvalue returns the value of field corresponding to given index
The ApplyMap function is used for mapping any expression to a previously loaded mapping table, whe
Syntax:lookup(fieldname, matchfieldname, matchfieldvalue [, tablename])
Set is used to set a value to a variable whereas let calculates the value on right hand side and assigns
Used in indirect set analysis.P() and E() representing the element set of possible values and the exclud
Eg:for p():sum( {$<Customer = P({1<Product={Shoe}>} Customer)>} Sales )
returns the sales for current selection, but only those customers that ever have bought the product S
Eg:for E():sum( {$<Customer = E({1<Product={Shoe}>})>} Sales )
returns the sales for current selection, but only those customers that never bought the product Shoe
previous(expression)-used to Return the value of expression using data from the previous input record
Circular reference is formation of a loop between tables.i.e a table can be reached in more than 1 w
They are Synthetic Dimension Functions.ValueList() creates a list box with values mentioned in it. W
Information density is the number of records that have values (i.e. not NULL) in this field as compar
total number of distinct values of this field (that is other tables as well).
[Perfect Key] indicates that every row contains a key value, and that all of these key values are unique
identify a single record.
[Primary Key] indicates that all key values are unique, but not every row contains a key value or the fi
RowNo( ) function does not count records that are excluded by where clauses and is not reset when a
Firstvalue()(Aggregation function)-Returns the first value in load order of expression over a numb
FirstSortedValue()(Chart Aggregation function)-returns the first value of expression sorted by corres
Qualify is used to qualify the fields with table name (i.e the field names are given table name as prefi
ErrorMode:-This variable determines what action is to be taken by QlikView when an error is encount
execution will halt and the user will be prompted for action .2-QlikView will trigger an "Execution of sc
Scripterror:-Returns the error code of the last executed script statement. This variable will be reset t
Chart Type Dimension Expression
No I have'nt used it.
Bar
Atmost 2
no limit
Line
only 1
No limit
Pie
Atmost 2
only 1
Gauge
no dimension no limit
Pivot
No limit
No limit
Straight
No limit
No limit
Grid
Atleast 3
only 1
Radar
Only 1
No limit
Mekko
Only 1
No limit
Bloack
No limit
Only 1
Funnal
Only 1
Only 1
Scatter
No limit
Atmost 2 and 3rd expression decide the size of symbol
Combo
Atmost 2
No limit
Aggr()-used only in charts with dimensions.Returns a set of values of expression calculated over dime
dual(s,x)-Forced association of an arbitrary string representation s with a given number representation
Answers
14
Total will just enable dynamic grouping by expressions while aggr() creates a temp table within the datamodel. Hence aggr() wil
Where to use:
Total is analogous to SQL group by while Aggr is analogus to SQL Sub Query.
Semantic load:A QlikView script prefix used to load semantic links. These are used for linking one sele
Semantic Links:
Generic Database:A generic database is a table in which the field names are
stored as field values in one column, while the field values
are stored in a second. Generic databases are usually
used for attributes of different objects.
crosstable (Month, Sales) load * from ex1.csv;
crosstable (Month, Sales, 2) load * from ex2.csv ;
here 2 indicates that first two fields are qualifynig columns which should be read in a straightforward w
Salesman Year
Jan
Feb
Mar
Apr
May
Jun
A
1991
45
65
78
12
78
22
B
1992
11
23
22
22
45
85
IntervalMatch:The intervalmatch prefix to a load or select statement is used to link discrete numeric v
forward way