Skip to Main Content
Creating Data Stories with Tableau Public
book

Creating Data Stories with Tableau Public

by Ashley Ohmann, Matt Floyd
November 2015
Beginner to intermediate content levelBeginner to intermediate
218 pages
4h 54m
English
Packt Publishing
Content preview from Creating Data Stories with Tableau Public

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Tableau 10 Complete Reference

Tableau 10 Complete Reference

Joshua N. Milligan, Tristan Guillevin
Tableau 2019.x Cookbook

Tableau 2019.x Cookbook

Dmitry Anoshin, Teodora Matic, Slaven Bogdanovic, Tania Lincoln, Dmitrii Shirokov

Publisher Resources

ISBN: 9781849694766Supplemental Content