Book Image

Qlik Sense Cookbook

By : Philip Hand, Neeraj Kharpate
Book Image

Qlik Sense Cookbook

By: Philip Hand, Neeraj Kharpate

Overview of this book

<p>This book is an excellent guide for all aspiring Qlik Sense® developers. It will take you through the basics, right through to the use of more advanced functions. With the recipes in this book, you will be empowered to create fully featured desktop applications in Qlik Sense®.</p> <p>Starting with a quick refresher on obtaining data from data files and databases, this book moves on to the more refined features of Qlik Sense®, including visualization, scripting, and set analysis. The tips and tricks provided will help you to overcome challenging situations while developing your applications in Qlik Sense®. This and more will help you to deliver engaging dashboards and reports efficiently.</p> <p>By the end of the book, you will be an expert user of Qlik Sense® and will be able to use its features effectively for business intelligence in an enterprise environment.</p>
Table of Contents (17 chapters)
Qlik Sense Cookbook
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Point in time using Set Analysis


How is this month looking compared to the last? This is one of the most common questions asked in BI solutions. In this recipe, we will build two charts and both will compare one year to the other. The first chart expression will limit the range of data and make use of the Year dimension. The second chart will not use the Year dimension but will build the year comparison directly into the expression itself.

Getting ready

For the purpose of this recipe,we will make use of an inline data load which gives yearly sales information for different fruits. Load the following data into the data load editor:

Data: 
LOAD * INLINE [
    Fruit, Year, Sales
    Apple, 2013, 63
    Apple, 2014, 4
    Cherry, 2014, 1150
    Cherry, 2013, 1180
    Fig, 2013, 467
    Fig, 2013, 374
    Fig, 2014, 162
    Fig, 2014, 267
    Fig, 2014, 586
    Orange, 2013, 10
    Orange, 2013, 50
    Orange, 2013, 62
    Orange, 2013, 131
    Orange, 2013, 145
    Orange, 2014, 93
    Orange,...