Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Qlik Sense Cookbook

You're reading from   Qlik Sense Cookbook Over 80 recipes on data analytics to solve business intelligence challenges

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781788997058
Length 334 pages
Edition 2nd Edition
Arrow right icon
Authors (3):
Arrow left icon
 Labbe Labbe
Author Profile Icon Labbe
Labbe
 Hand Hand
Author Profile Icon Hand
Hand
 Kharpate Kharpate
Author Profile Icon Kharpate
Kharpate
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Getting Started with the Data FREE CHAPTER 2. Visualizations 3. Scripting 4. Managing Apps and the User Interface 5. Useful Functions 6. Set Analysis 7. Using Extensions in Qlik Sense 8. Advanced Aggregation with AGGR 9. Tips and Tricks 1. Other Books You May Enjoy Index

Capturing a list of field values using a Cconcat() function in Set Analysis


While we have used the search strings in previous recipes to do a numeric search, we can also perform text searches by using the wildcard character, *. Occasionally, however, you might want to compare the values in one field to the values stored in another. We can also achieve this using Set Analysis and the Concat() function.

Getting ready

For the purpose of this recipe, we make use of product sales data as defined in the following script. Load the following script in the Qlik Sense Data load editor:

Transactions: 
Load *, 
    If(Len(TmpSubCategory)=0,Null(),TmpSubCategory) AS 
     SubCategory; 
Load * INLINE [ 
    ProductType, Category, TmpSubCategory, Sales 
    Premium,A4,A4,300 
    Standard,A4,A4,100 
    Premium,A5,A5,500 
    Standard,A5,A5,200 
    Premium,A6,A6,1000 
    Standard,A6,A6,600 
    Premium,A1,,700 
    Standard,A1,,300 
    Premium,A2,,300 
    Premium,A3,,200 
    Standard,A3,,60 
];  

How...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images