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 now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
QlikView for Developers

You're reading from   QlikView for Developers Design and build scalable and maintainable BI solutions

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781786469847
Length 546 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Miguel  Angel Garcia Miguel Angel Garcia
Author Profile Icon Miguel Angel Garcia
Miguel Angel Garcia
Barry Harmsen Barry Harmsen
Author Profile Icon Barry Harmsen
Barry Harmsen
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Meet QlikView FREE CHAPTER 2. What's New in QlikView 12? 3. Seeing is Believing 4. Data Sources 5. Data Modeling 6. Styling Up 7. Building Dashboards 8. Scripting 9. Data Modeling Best Practices 10. Basic Data Transformation 11. Advanced Expressions 12. Set Analysis and Point In Time Reporting 13. Advanced Data Transformation 14. More on Visual Design and User Experience 15. Security Index

Dealing with different data types


As we've seen in the previous section, QlikView offers a complete toolbox for dealing with data. In this section we will be looking at some of the most important operators and functions for dealing with strings, numbers, dates, and times.

Strings

Strings are pieces of text; in QlikView these are often used to provide context to the numbers. You may have noticed that in the script, strings are always enclosed between single quotes (').

String operators

The most common operation performed on strings is concatenating two or more strings together into a single string. This is achieved by using the & operator, for example:

[First Name] &' '& [Last Name] 

This concatenates the values of First Name and Last Name, with a space between them, into a single string containing the full name.

String functions

The following table shows the most important string functions.

Function

Explanation

Example

Result

len(string)

Returns the length of a string.

len...

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 $19.99/month. Cancel anytime