You are on page 1of 19

Qlikview Questions

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?

3. What are the different File Functions and QVD functions?

4. Can you store specific fields from loaded table to QVD?


5. What is Alt() function and its usuage?
6. What is Link Table and when is this used?
7. What is subfield() and if we use that on several fields what is the result ?What is Substring?
8. How can you implement SCD in Qlikview?Explain in Detail?
9. What are synthetic keys ? How can they be avoided?In what Scenario Synthetic Keys are better?
10. What is difference between Sum() and RangeSum()?
11. What is FieldValue() ? What is the restriction on this function?

12. Difference between ApplyMap() and Lookup()?

13. Difference between Set and Let?Difference between Rowno() and Recno()?

14. Difference between P() and E()?

15. Difference between Peek(),Pick() and Previous?

16. What are Circular References?How do you avoid them?

17. What are Value List and Value Loops?Tell me with scenarios?

18. What is Rand() ,Autonumber() and Autogenerate()?

19. What is Information Density and Subset Ratio?

20. Explain me with scenarios of Primary Key and Perfect Key?


21. Difference between Recno() and Rowno()?
22. What is First Value and FirstSorted Value()?
23. Tell me how to use Qualify and UnQualify?

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?

27. How many maximum Dimensions we can use in Different Charts?

28. What is Aggr() and Dual() ?


29. Why Sum() is better than Count()?
30. List some Better Practices that you have used in your Work?
31. Have you worked on reading Done Files?How do we handle them?
32. Tell me how can we work Insert,Update and Delete on Incremental Loads?
33. Explain the QV Development Life Cycle til the User Visualizes the Dashboard?
34. What is 3 Value Logic in Qlikview ?Can you Elaborate in Detail?
35. Have you used Include and Config files?Can you write sample scripts for each?
36. Explain the Folder Structure we follow during the development and Folder Structure in QMC?
37. Explain about the Section Access in brief and important setups we need to do?
38. What is Custom Sort and have you ever tried to implement?
39. What is the RAM Size and Processor of your RAM?What is the Application Size ?

40. What is use of BUFFER Keyword in Qlikview ?


41. Difference between Join and Keep? Which is Better and when?
42. Explain me about CrossTable and Generic Loads?
43. Have you implemented Waterfall Chart ?How do we implement them?
44. Explain me how do we connect to OLEDB Connection?
45. What is Custom Format in Qlikview?
46. If I Want to Skip specific rows in Excel during Load how do we need to do that?
47. Brief me about Set Analysis?Tell me script to compare the Sales of this year to Last Year?
48. Explain me about Source and User Documents in QMC?
49. What are Different CAL's and its usage?
50. Explain me some steps to improve Performance in Scripting,GUI ?
51. Important Steps during the Data Model Design?
52. Star Schema and Snowflake Schema ? Which is Best? What have you used?

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

Different File functions include attribute(),connectstring(),filebasename(),filedir(),fileextension(),filen


,QvdFieldName(filename , fieldno) ,QvdTableName(filename)

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

Rand()-Returns a random number between 0 and 1. Autonumber()-Returns a unique integer value f


generated by QlikView

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

ternal table tablename.Pick(N,x,y,z) is used to pick the Nth value

data table is Concatenation to another

Answers

14

Diff btw total and aggr

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.

eg:sum(TOTAL <F3,F1> F2)


aGGr(sum(F2),F1,F3)

where F1,F3 are dimensions


All
"All" disregards selections, and, if used, in chart, dimensions. It is the same as function({1} total field)

eg sum(ALL F2)/sum({1} F2)

QVS - QlikView Server


QVD - QlikView data file (optional file containing data in QlikView format)
QVW - QlikView application (analytic).

Semantic load:A QlikView script prefix used to load semantic links. These are used for linking one sele
Semantic Links:

Inter Record Functions


lookup()
peek()
previous()
exists()
fieldvalue()
fieldindex()

Generic load: Generic


The unpacking and loading of a generic database can be done with a generic
prefix.
The syntax is:
generic ( loadstatement | selectstatement )
Examples:
Generic Load * from abc.csv;
Generic Select * from table1;
Tables loaded through a generic statement cannot be concatenated.

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

numeric values to one or more numeric intervals

You might also like