Book Image

Creating Data Stories with Tableau Public

By : Ohmann
Book Image

Creating Data Stories with Tableau Public

By: Ohmann

Overview of this book

Tableau Public is a very useful tool in anyone's data reporting toolbox that allows authors to add an interactive data element to any article. It allows investigative journalists and bloggers to tell a “data story”, allowing others to explore your data visualization. The relative ease of Tableau Public visualization creation allows data stories to be developed rapidly. It allows readers to explore data associations in multiple-sourced public data, and uses state-of-the-art dashboard and chart graphics to immerse the users in an interactive experience. This book offers investigative journalists, bloggers, and other data story tellers a rich discussion of visualization creation topics, features, and functions. This book allows data story tellers to quickly gain confidence in understanding and expanding their visualization-creation knowledge, and allows them to quickly create interesting, interactive data visualizations to bring a richness and vibrancy to complex articles. The book takes you from basic concepts in visualization creation, like connecting to data sources, cleansing data, chart types, common functions, map creation, and publishing to the Web, to more advanced functions. It is a great overview and reference guide for beginner to intermediate Tableau Public data story tellers, and covers creation of Tableau Public visualizations of varying complexities.
Table of Contents (11 chapters)
10
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...