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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Creating Data Stories with Tableau Public

You're reading from   Creating Data Stories with Tableau Public Illustrate your data in a more interactive and interesting way using Tableau Public

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781849694766
Length 218 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Started with Tableau Public 2. Tableau Public Interface Features FREE CHAPTER 3. Connecting to Data 4. Visualization – Tips and Types 5. Calculations 6. Level of Detail and Table Calculations 7. Dashboard Design and Styling 8. Filters and Actions 9. Publishing Your Work Index

The logic functions


Logic functions enable you to tell Tableau Public what to do when certain conditions are met. They are also known as conditional statements. The format is commonly referred to as IF THEN ELSE. You, as a programmer, ask Tableau to test whether a row of data meets a certain condition. If it does meet the condition, then there is an output, which can be another field, a discrete number, or a string. If the condition is not met, then you want a different output.

There are several logic functions in Tableau. Some of these functions are sub-functions or parts of others. We will focus on the following major functions:

  • IF, followed by THEN, ELSE-IF, or ELSE: This tests whether a condition is met and show the result if it is met as well as other conditions that need to be tested and results that need to be produced in case none of the conditions are met.

  • The IIF statement: This tests for a minimum of one condition and then provides the results when the condition is or is not met...

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