What is Synthetic Key?
Synthetic Keys: when two or more tables have two or more fields in common is called synthetic key. Below are the ways to remove synthetic keys
- Join
- Alias
- Concatenated key
- Link table
- Qualify
What is Circular reference/loops?
Circular reference/loops: There are more than one path of association between two fields below are the ways to remove.
- Alias
- Qualify
- Link table (join)
- Concatenation
What is Join?
Join: it joins the loaded table with an existing named table or last previously created logical table.
Join are of 4 types
- Inner Join
- Outer Join
- Left Join
- Right Join
What is Keep?
Keep: it will not join two tables and they will be stored in QlikView as two separate named tables. Keep will always preceded by one of the prefix
Ex. Right Keep.
What is Concatenation?
Concatenation: If the two tables have different fields concatenation of the two tables can be forced with concatenation prefix.
What is No Concatenation?
No Concatenation: if the two tables have same fields also No Concatenate treats as separate internal tables
What is the use of Connect statement?
The connect statement is used to establish a connection to the database through an ODBC or OLEDB interface.
What is the use of Select Statement?
The SQL select statement is used to identify fields and tables to load from the current database connection.
What is the use of Load statement?
The load statement loads fields from a typed ASCII file from data defined in the script from previously loaded input table, from previously loaded field. From the result of the following select statements or by generating automatically
Explain Aggr function?
Returns a set of values of expression calculated over dimension
Ex: Aggr(sum(sales), country)
Difference between star schema and snow flake schema?
Star Schema: In a star schema, the fact table will be at center and in connected to dimensional tables. The tables are completely in De normalized Structure. SQL queries performance in good as there are less number of joins involved. Data redundancy is high and occupies more disk spaces.
Snowflake Schema: is an extension of star schema where the dimension tables are further connected to one or more dimensions. The tables are partially de normalized in structure. The performance of SQL queries is little bit less compared to star schema as more no. of joins are involved. Data redundancy is low and occupies less disk space compared to star schema.
What is Fact Constellation Schema?
Fact Constellation Schema is describes a logical database structure of Data Warehouse or Data Mart. Fact Constellation Schema can design with collection of De Normalized Fact, Shared and conformed dimensional tables. Fact Constellation Schema is an extended Decomposed Star Schema.
Difference between RDBMS and Associative Data Model?
RDBMS: stands for Relational Database Management System. It organizes data into related rows and columns. It stores data in Tables having rows and columns. These tables are created and data retrieving using SQL
Associative Database: The Associative Data Model is an alternative data model for database systems other data models are record based.
Types of CALS how do you assign them?
To connect a QlikView server (QVS) each client needs a CAL (client access license) The CAL’s are purchased with QlikView Server and tied to the server serial number. A CAL is never transformed to the client but a client uses the CAL when connecting to the server.
Cal Types:
- Named User CAL: Named CAL can access all the documents
- Document CAL: Document CAL can access particular document
- Session CAL: A session allows any user identified or anonymous/unidentified on one QV client to access many QV documents as may reside on the server
- Usage CAL: allows any user to access only one QV document residing on the server
What is difference between QV Server and Publisher?
QV Server: is a program that is installed in a physical server (computer) with number of CAL’s these allow user to access QV files on the server. QVS controls the people who can access the documents on server using client access license (CAL).
QV Publisher: is a program which allows you to maintain centralized control of all your QV files and to schedule when and how they reloaded and distributed. You can automatically reload files and distribute them to web access points or by email or intranet. You can do data reduction also.
If server crashes then how do you check behind it or error log where you will find that log?
c:\programdata\Qliktech\webserver\log
What is cross table?
Cross table is common type of table featuring a matrix of values between two orthogonal lists of header data. To turn cross table into straight table use cross table prefix
Ex. Cross table (attribute field name, data field name [ , n ] ) ( load statement | select statement )
What is Set and Let?
Set: this command assigns the variable the text to the right of equal sign.
Let: assigns the variable whereas Let command evaluates expression.
Ex. Set Variable name = String
Let variable name= operation
What type of data connections do you use?
ODBC, OLEDB, SAP connectors
How do you bring data into QV? Explain the script?
We can load data from ODBC, OLEDB, SAP connectors by connect, select statements and also we can load flat files like excel, word, xml etc… by using Table files syntax will be
Directory: Load tables, from Ramsample.txt;
What type of data did you used?
flat files, excel, QVD’s etc…
What type of charts did you used?
Bar chart, line chart, combo chart, gauge chart, scatter chart, grid chart, pie chart, funnel chart etc.
What is Trellis chart?
Trellis: open the Trellis setting in chart properties, you can create an array of charts based on first dimension any type of bitmap chart can be made into trellis display.
- We can enable trellis chart
- Enable secondary Trellis Dimension
- We can give no of columns to display in chart
What is Mini chart?
It is only available when the mini chart option has been selected in the expression page of straight table properties dialog. Opens a dialog for setting the properties of the mini chart, we can set mode type instead of values in table mode are: spark lines, line with dots, dots, bars or whiskers we can set color also
How many dimensions can be used in bar chart?
Which QV object has only expression, no dimension?
Have you used macros in your application? What you have used?
We can use macros for various things
- We can call the macro to reload the application
- We can call the macro to create objects
What are the differences between Pivot table and straight table?
Pivot data is grouped, partial sums can be shown in pivot table but not in straight table
What are the layers in QV?
The layer are set on the sheet object properties layout where bottom, top, normal corresponding to the numbers -1,0,and 1 choose custom to enter value of your choice valid layer numbers are -128 to 127
Difference between QVD and QVW?
QVW: A QlikView file saved in binary format having the default expression QVW. Also called Qlik View file .qvw file contains tables, charts script etc.
QVD: a native Qlik View file format, A QVD file contains one data table, no layout and no security. It is basically a binary CSV file optimized for fast loading.
What is Interval Match?
The interval match prefix to load or select statement is used for linking discrete numeric values to one or more numeric intervals
Ex. Interval match(field)(load statement/select statement)
What is Cluster?
Cluster: for load balancing we have to install it with separate license when availability small business server only we can install Clusters. It will give high availability to the application (Zero Down time)
Types of Charts? And uses of Charts?
Bar Chart: Comparison of similar measurements
- Actual vs budget- money to money. Quarter to Quarter
- Time to Time
- Top N- categorized values (sales reps, customers etc…)
Avoid: comparisons with different units ($ and Qty)
Line chart: measurements to follow its moments or comparisons among items
- Performance trends- amount of moment over time
- Two Dimension comparisons- Annual comparisons over month
Combo Charts: Comparisons for multi measurements
- Two measurements- currency amount and quantity or amount percentage
- Two axis- different measurements on left and right axis
- Two or more axis: split axis horizontally
Radar chart: Comparisons of high level groups
- One or two measurements- sales and profit
- Avoid- a dimension with many values
Gauge chart: Ratio of measurements
- Percentages- margin, quota achieved, year-tot
- Date vs last YTD.
Avoid: actual amounts
Mekko chart: Data using variable width bars
- 3D measurement chart- Amount, Quantity and no. of customers
- Market analysis.
Scatter Chart: Measurement acts as dimensions (3D Chart)
- 3D measurement chart- Amount, Quantity and no. of customers
- Map chart- see sales on Geographical map
Grid Chart: 2 or 3 Dimensions with a measurement
- Multi-cross dimensional measurements
- amounts over- region and product and over time
Pie Chart: Visual Distribution measurements
- what contributes how to the whole- regional sales
- yes/no analysis
Funnel chart: Dimension that contain an expiration time line
- how much is the most aging element
- Sales opportunities
- Product Inventory Expressions
Block chart: Distribution measurements within multi dimensions
- what contributes how to whole and within each segments
- Sales contribution per country
Straight Table: one dimension with multiple measurements
- KPI overview- cyclic group dimensions with sales Qty, margin
- Sort in any no of columns (no grouping)
Pivot table: multi dimensions with one or more measurements
- Grouping of dimensions
- Dimensions across the table and displaying sub totals
First sorted value: It returns the first value of expression sorted by corresponding Sort weight. Sort weight should be a numeric value.
Uses:
- Get the latest field value based on time stamp
- Bigger customer for each product category
- Find the min/max values and extract related field
- Compare highest and second value
- Look up min/max value within range
What is the use of Interval match function()?
Interval match function(): it is use generate data buckets of different sizes
What is the use of Extended Interval Match function()?
Extended Interval Match function(): It is used for slowly changing dimensions
What is Relative Path?
Relative Path: If we select Relative path, then we the work path is defined by directory statement. If it is not selected, the path of the QVW defines work directory. The work directory can be found in the system variable QVWORKROOT which should not be changed manually.
What are the new features in QV 11?
- Container Object- Grid Style
- Granular Chart – Dimension Control
- Actions like, clear filed, reset button
- Conditional enabling of dimensions and expressions
- meta data
- comparative analysis(multiple state selections)