Professional Documents
Culture Documents
Exercise - INSTRUCTIONS
Using the example download files on the right, you will practice working with a Example Download
calendar – first by filling in missing dates acquired from measure data, and second
The example files provided for this
by looking at a fiscal calendar example.
exercise, two Access .mdb format
databases, and two .qvw files, are
zipped into an archive file which is
available for download from the
course site. Extract the files from
Fill in missing dates the zip archive and place them in a
Open Power Company Analysis – practice in QlikView Desktop location on your local hard drive.
On the XYZ Power Generation sheet, scroll to the very end of the line Here are the files used in this
exercise assignment:
chart and notice the dip and subsequent climb in activity near the end of
the year Power Company Analysis –
practice.qvw
Pre-existing application with
power-generation data and a line
chart showing the trend of
Megawatt-hours produced by
day.
ValidatingSOP.mdb
Contains numerous tables
centering on sales order
processing of a fictitious
company.
Scroll down to around line 278 and observe that the Megawatt hours per day production data is
entirely missing for October and November 2016. This gap in the dates provides a misleading
impression of the power-generation activity
Press Ctrl + A to select all the text, then right click the selection and click Uncomment. This
activates the script to generate a gapless calendar using the following three steps:
Fiscal year
A common situation in Business Intelligence is that an organization uses a financial year (fiscal year)
different from the calendar year. This implies a number of additional requirements in the QlikView
document: The most obvious is that the year used in all charts and reports must correspond to the
fiscal year which runs over a different set of dates than the calendar year.
Uncomment the statement on line 19 to activate the variable that sets the first month of the fiscal
year to month 4 (April)
©2016 QlikTech International AB. All rights reserved. Qlik®, Qlik Sense®, QlikView®, QlikTech®, Qlik® Cloud, Qlik® DataMarket, Qlik® Analytics Platform and the Qlik logos
are trademarks of QlikTech International AB which have been registered in multiple countries. Other marks and logos mentioned herein are trademarks or registered trademarks
of their respective owners. Use of any and all of the foregoing is subject to the written approval of Qlik.
o Create dual values FYear and FMonth. Dual values have a display value and an
underlying number which facilitates sorting
Click Reload
Close the Script Editor to return to the Orders Analysis sheet. Resize the line chart, to half its
current height and place it in the upper half of the sheet.
Position the new copy underneath the old one, so that they are both visible
Right click the bottom chart and go into the properties. Switch to the dimensions properties page.
Click the General tab and change the title to Orders Analysis – fiscal year
Click OK for the chart properties and compare the two charts
Click Reload
Close the script editor to return to the Orders Analysis sheet and notice that the second chart now
spans months June through May
©2016 QlikTech International AB. All rights reserved. Qlik®, Qlik Sense®, QlikView®, QlikTech®, Qlik® Cloud, Qlik® DataMarket, Qlik® Analytics Platform and the Qlik logos
are trademarks of QlikTech International AB which have been registered in multiple countries. Other marks and logos mentioned herein are trademarks or registered trademarks
of their respective owners. Use of any and all of the foregoing is subject to the written approval of Qlik.
©2016 QlikTech International AB. All rights reserved. Qlik®, Qlik Sense®, QlikView®, QlikTech®, Qlik® Cloud, Qlik® DataMarket, Qlik® Analytics Platform and the Qlik logos
are trademarks of QlikTech International AB which have been registered in multiple countries. Other marks and logos mentioned herein are trademarks or registered trademarks
of their respective owners. Use of any and all of the foregoing is subject to the written approval of Qlik.