Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
QlikView Essentials

You're reading from   QlikView Essentials Want to solve your Business Intelligence headaches? Learn how QlikView can help, and discover a powerful yet accessible BI solution that lets you harness your data

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher
ISBN-13 9781784397289
Length 166 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Chandraish Sinha Chandraish Sinha
Author Profile Icon Chandraish Sinha
Chandraish Sinha
Arrow right icon
View More author details
Toc

Creating a text object


Text objects are a good way of displaying labels and expressions. Text objects can be made interactive by specifying Actions in the properties. Since we are working on a Dashboard sheet, we will create text objects to display summarized information. We will create text objects for number of Orders, number of Customers, and Total Sales:

  1. Use QlikViewEssentials_Presentation.qvw.

  2. Right-click on the empty space on the Dashboard sheet. Select New Sheet Object and then the text object.

  3. On the General tab, in the Text edit box, type the following expression for # of Orders. Remember to put = in front of the expression. If you are displaying labels then you don't need =:

    ='# Orders ' & chr(10) & Num(count(distinct OrderID),'#,##0')
    Distinct is used to avoid duplicate OrderID's in the count

    Tip

    Notice chr(10) will give a line break and a calculation will appear after # Orders label. You have to format the number in the textbox using the Num function.

  4. On the General tab, under...

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
Banner background image