Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Tableau 2026
  • Table Of Contents Toc
Mastering Tableau 2026

Mastering Tableau 2026 - Fifth Edition

By : Marleen Meier
close
close
Mastering Tableau 2026

Mastering Tableau 2026

By: Marleen Meier

Overview of this book

Master the full capabilities of Tableau to design, build, and scale modern data visualization and business intelligence solutions. This book takes you beyond the basics to help you create advanced Tableau dashboards, perform efficient data preparation with Tableau Prep Builder, and deliver impactful analytics across your organization. Through practical examples, you’ll learn how to turn raw data into meaningful insights using proven Tableau data visualization techniques. As you progress, you’ll work with calculated fields and LOD expressions to build more flexible and powerful analyses. You’ll also explore performance optimization, deployment, and collaboration using Tableau Server, along with best practices for data governance and security in enterprise environments. In addition, the book covers AI-powered Tableau features that enhance analysis and accelerate insight discovery. You’ll apply advanced techniques such as time series analysis, geospatial analytics, and data modeling, and extend Tableau’s capabilities through Python and R integration for more sophisticated analytics workflows. By the end of this book, you’ll be equipped to build scalable, high-performance Tableau analytics solutions, enabling you to solve complex business problems with confidence.
Table of Contents (19 chapters)
close
close
15
Chapter 15: The Intelligent Era of Tableau AI, Pulse, and Next
18
Index

Implementing R functionality

Now that we have successfully connected Tableau with R, let's write some code in Tableau to invoke R. Within Tableau, open the Calculated Field Editor. Notice the class of functions beginning with SCRIPT_, as shown in the following screenshot:

Image 8

Figure 14.8: SCRIPT_ functions

The SCRIPT_ functions are used by Tableau to invoke R. The function names communicate the data type of the returned results; SCRIPT_REAL returns float values, SCRIPT_BOOL returns true or false values, and so forth.

The syntax of a SCRIPT_ function is represented in the following diagram:

Image 9

Figure 14.9: R script syntax

The preceding example code Script_Real("mean(.arg1)",SUM(PROFIT)) calculates the average profit, but we will get to more examples in the next sections. Let's start by reproducing Tableau functionality using the R integration and validating that the R integration is functioning as expected.

Reproducing native Tableau functionality...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Tableau 2026
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon