QLIKVIEW SET ANALYSIS RELATED INTERVIEW QUESTIONS-ANSWERS

Set Analysis can be understood by a simple analogy of how Qlikview works. We make selections on certain variables and the changes reflect i...

Set Analysis can be understood by a simple analogy of how Qlikview works. We make selections on certain variables and the changes reflect in the entire application. This happens because through our selection, we have created a set of data which we want to use. In a similar fashion, using Set Analysis feature, we can pre-define the data to be displayed in our charts.

Interview Questions on Set Analysis

1). Define Set Analysis and its types with examples?
Aggregation functions normally aggregate over the set of possible records defined by the current selection.
 sum( Sales )
But an alternative set of records can be defined by a set expression.
sum( {$<Year={2008}>} Sales )
Features:
• Conceptually similar to a selection.
• Provides a method of defining groups (sets) of information that are independent of the current can create sets based on other sets.
• Must be used in aggregation function.
• Always begin and end with curly brackets {}
• Very powerful functionality for comparison analysis
• May eliminate the need for additional, complex coding within an application
• Provides much more flexibility in the analysis’ you can create

2). What are Modifiers, Operators and Identifiers?
Identifiers Syntax:
0 - Represents an empty set
1 - Represents the full set of all the records in the application
$ - Represents the records of the current selection
$1 - Represents the previous selection
$_1 - Represents the next (forward) selection
Bookmark01 - Represents the bookmark ID or the bookmark name
Example:
sum({1} Sales)
Returns total sales within the application, disregarding selections but not
the dimension.
sum({$} Sales)
Returns sales for the current selection, i.e. the same as sum(Sales).
sum({$1} Sales)
Returns sales for the previous selection.
sum({Bookmark01} Sales)
Returns sales for the bookmark named “Bookmark01

Operators:
+  Union         Returns the set of all records that belong to the unioned sets
-  Exclusion     Returns records that belong to the first but not the other of the two set identifiers.
*  Intersection  Returns records that belong to both of the set identifiers.
/ Symmetric
Difference
Returns a set that belongs to either, but not both of the set identifiers.
Examples:
sum({1 - $} Sales)
Returns sales for everything excluded by the current selection.
sum({$ * Bookmark01} Sales)
Returns sales for the intersection between the current selection
and the bookmark “Bookmark01”.
sum({ - ($ + Bookmark01)} Sales)
Returns sales excluded by current selection and the bookmark
“Bookmark01”.

Modifiers:(Deals With Fields Name)
Modifiers - Examples
sum({$<OrderDate = DeliveryDate>} Sales)
Returns the sales for the current selection where OrderDate = DeliveryDate.
sum({1<Region = {US}>} Sales)
Returns the sales for region US disregarding the current selection.
sum({$<Region = >} Sales)
Returns the sales for current selection, but with the selection in “Region”
removed.
sum({<Region = >} Sales)
Returns same as the example above. When the set to modify is omitted, $
is assumed.
sum({$<Year={2000}, Region={“U*”}>} Sales)
Returns the sales for current selection, but with new selections both in
“Year” and in “Region”.

3). Explain Syntax given below:
• sum( {$<Year = {$(vLastYear)}>} Sales )
returns the sales for the previous year in relation to the current selection. Here, a variable vLastYear containing the relevant year is used in a dollar-sign expansion.
• sum( {$<Year = {$(=Only(Year)-1)}>} Sales )
returns the sales for the previous year in relation to the current selection. Here, a dollar-sign expansion is used to calculate
Previous year

4). Define Indirect Set Analysis with an example?
Set analysis was previously restricted to stating direct selections in a field. Starting with version 9, it is now possible to state selections in a field based on selections in another field.
The functions p() and e() can be used to select the set of possible or excluded values within a field.
Indirect Set Analysis
• p( ) = Possible
• e( ) = Excluded
Customer = p({<Year={$(=max(Year)-1)}>} Customer)
Returns customers who had an association to last year.
sum(({<Year={$(=max(Year))},
Customer = p({<Year={$(=max(Year)-1)} Customer>}) Sales)
Returns this year’s sales for customers who had sales last year.

5). Create a program to shows the sales figures for different categories between selected dates. For the dates option, create two calendar that takes in the start date and the end date. Use Set Analysis for this.

Related

QLIKVIEW INTERVIEW QUESTIONS 8879661803564871294

Post a comment

  1. oh great , i am preparing for the qlikview interviews... so helpful.....
    Qlikview Online Training in hyderabad

    ReplyDelete
  2. I agree with your thoughts!!! As the demand of java programming application keeps on increasing, there is massive demand for java professionals in software development industries. Thus, taking training will assist students to be skilled java developers in leading MNCs. J2EE Training in Chennai | JAVA Training Institutes in Chennai

    ReplyDelete
  3. Thanks for your article on Android technology. Android is an open source platform that allows developers to create stunning website loaded with various advanced features and functionalities. Android Training in Chennai | Android Course in Chennai

    ReplyDelete
  4. I would like to say thank you for the amazing details and concepts you are sharing in this.
    Webseiten Gestaltung Lüdenscheid

    ReplyDelete
  5. Wonderful post. Thank you for updating such an informative content.


    Best Python Training Academy in Kanchipuram

    ReplyDelete

emo-but-icon

Follow Us

Recent

Comments

Donate

Side Ads

Text Widget

Connect Us

Sql Server 2017 Interview Questions
Sql Server Basic Interview Query Set-1
Sql Server Basic Interview Query Set-2
Sql Server Date-Time Interview Query SET-3
Sql Server Salary Interview Query SET-4
Sql Server Group By Interview Query SET-5
Sql Server Join Interview Query SET-6
Sql Server Tricky Join Interview Query SET-7
Sql Server DDL Interview Query SET-8
Small but very Tricky Sql Server Query SET-9
Very Much Tricky Query (not 4 fresher)SET-10
Sql Server Complex Interview Query SET-11
Sql Server Datatype Interview Questions
Sql Server View Interview Questions
Sql Server Index Interview Questions
TCS Tricky Sql Interview Queries
HCL Sql Interview Queries
Sql Server SP Interview Questions
Sql Server Trigger Interview Questions
Sql Server Temp Table Interview Questions
Sql Server 2016 Interview Questions
Sql Server Performance Tuning Interview Q.
Sql Server Constraints Interview Questions
Sql Server Storage/Size Interview Questions
Sql Server Very Basic Interview Questions
Sql Server Quiz for Fresher
Sql Server Icon Quiz for All
Sql Server 300+ Theoretical Interview Questions
Sql Server Complete Set

ASP.NET AND JQUERY INTERVIEW QUESTION
ASP.NET: Web Config Interview Question
ASP.NET: View State Interview Question
ASP.NET: Session Interview Question
ASP.NET: Session Interview Question 
ASP.NET: Security Interview Question
ASP.NET: Catching Interview Question
C# OOPS Interview Question
MORE Interview Question
JQUERY: Interview Question Set-1
JQUERY: Interview Question Set-2
JAVA-SCRIPT: Interview Question Set-1
JAVA-SCRIPT: Interview Question Set-2
ASP.NET MVC: Interview Question Set-1

POPULAR POSTS
10 MOST DIFFICULT INTERVIEW QUESTIONS
5 BEST INTERVIEW TIPS
YOUR 10 MISTAKE DURING INTERVIEW
2016 TOP 20 GROUP DISCUSSION TOPICS
HOW SQL PERFORMANCE AFFECTED BY DATATYPE
item