Using Functions in QlikView

Last updated on Oct 25 2021
Harshal Shah

Table of Contents

Using Functions in QlikView

QlikView has many built-in functions, which are available to be applied to data that is already available in memory. These functions are organized into many categories and the syntax of the function appears as soon as it is selected. We can click on the Paste button to get the expression into the editor and supply the arguments.

Create Table Box

Create a Table Box by following the menu as shown in the screen shot given below.

image1 28

On completing the above given step, we get a window to show the Calculation condition at the bottom left.

image2 24

List of Functions

Click on the button next to calculation condition and go to the Function tab. It shows the list of functions available.

image3 21

On choosing String from the functions category, we can see only few functions, which take a string as an argument.

image4 20

QlikView – IntervalMatch

QlikView IntervalMatch is a powerful function used to match distinct numeric values to numeric intervals. It is useful in analyzing how the events actually happened versus the planned events. The example of a scenario where it is used is in the assembly lines of the production houses where the belts are planned to run at certain times and for certain duration. However, the actual run can happen at different points in time because of breakdown etc.

Example

Consider an assembly line where there are three belts named A, B and C. They are planned to start & stop at specific times of a day. In a given day, we study the actual start and end time and analyze what all happened in that day. For this, we consider two sets of observations as shown below.

# Data Set for AssembilyLine.

StartTime,EndTime, BeltNo

00:05,4:20, A

1:50,2:45,B

3:15,10:30,C

 

# Data set for the events happened.

ActualTime,Product

1:10,Start Belt A

2:24,Stop Belt A

3:25,Restart Belt A

4:35,Stop Belt A

2:20,Start Belt B

3:11, Stop Belt B

3:15,Start Belt C

11:20, Stop Belt C

Creating the Script

We open the script editor in a new QlikView document using Control+E. The following code creates the required tables as inline data. After creating this script, press control+R to reload the data into the QlikView document.

image5 16

Creating Sheet Object

Let us create a Table Box sheet object to show the data generated by the IntervalMatch function. Go to the menu item Layout → New Sheet Object → Table Box. The following window appears in which we mention the Title of the table and select the required fields to be displayed.

image6 13

Showing the Table Box

On clicking OK in the above window, a table appears showing the field ActualTime matched to the intervals StartTime and EndTime.

image7 10

So, this brings us to the end of blog. This Tecklearn ‘Using Functions in QlikView’ blog helps you with commonly asked questions if you are looking out for a job in QlikView BI. If you wish to learn QlikView and build a career in Business Intelligence domain, then check out our interactive, QlikView Certification Training, that comes with 24*7 support to guide you throughout your learning period. Please find the link for course details:

https://www.tecklearn.com/course/qlik-view-certification-training/

QlikView Certification Training

About the Course

Tecklearn’s QlikView Certification Training will help you become an expert in Data Visualization with QlikView. Learn all the basics and advanced features of QlikView such as data modelling, reports and dashboards, visualization, object formatting, system table etc. Along with this, you will be given hands-on working experience on real-time projects that will help you pass the QlikView certification exam. You also get hands-on experience in QlikView applications.

Why Should you take QlikView Training?

  • The average annual pay for a QlikView Professional is $122,000. -PayScale.com.
  • Deloitte, Cisco, Qualcomm, Sony, AON & other top Fortune 500 companies use QlikView
  • QlikView – A Leader in 2017 Gartner Magic Quadrant for Business Intelligence & Analytics Platforms (For 7th Consecutive Year). 

What you will Learn in this Course?

Introduction to QlikView

  • Concept of Business Intelligence
  • Features and components of QlikView
  • Comparison with other BI tools
  • Architecture
  • Installation & Navigation
  • QVS, QVW and .log files
  • Sheet Objects
  • Dimensions and Expressions
  • Various file types and extensions

Various QlikView Products

  • Overview of the various QlikView products

Introduction to Data and Scripting

  • Structuring the Script
  • Create tabs in the scripts, Debugging of scripts
  • Hands On

Data Model

  • QlikView Data File Types: QVD, QVX
  • System fields
  • Star schema
  • Synthetic Key Tables
  • Data Modelling Considerations
  • Straight and Pivot Table
  • Hands On

Components of Qlik View

  • Sheets and Sheet Objects
  • The List Box
  • The Table Box
  • The Multi Box
  • The Button & Text Object
  • Basic Charts
  • Hands On

Set Analysis

  • Set analysis
  • Working with modifiers, identifiers, operators, example of expressions,
  • Indirect set analysis
  • YTD & MTD

QlikView Functions, Reports and Charts

  • Uses of Expressions
  • Chart Properties: Dimensions
  • Qlikview Functions
  • Adhoc Reports
  • Incremental Load using QVD Files
  • Bookmarks
  • Hands On

Data Analysis

  • What-if Analysis
  • Comparative Analysis
  • Dynamic Reporting or Ad-hoc Reporting
  • Document Analyzer

QlikView Security

  • QlikView security
  • Defining the access controls and levels of access
  • Maintaining the access control database

QlikView Administration

  • QMC (QlikView Management Console)
  • Server Installation & Deployment
  • QlikView Project

Got a question for us? Please mention it in the comments section and we will get back to you.

 

0 responses on "Using Functions in QlikView"

Leave a Message

Your email address will not be published. Required fields are marked *