Fixing Tableau Calculation Aggregation Errors

Описание к видео Fixing Tableau Calculation Aggregation Errors

🔔 Book a FREE 15-min Tableau call here: https://forms.gle/DfW6TJkMjsmBytig8

Connect with us:
•Upcoming Tableau Classes: https://onenumber.biz/onenumber-table...
•Book an hour to work with Ollie: https://www.eventbrite.com/e/tableau-...
•Subscribe to the OneNumber Newsletter: https://onenumber.biz/newsletter
•Follow Ollie Linley on LinkedIn:   / oliverlinley  

Description:
Have you ever seen the error: “Cannot mix aggregate and non-aggregate arguments in this function?” If you’ve worked with Tableau for any period of time, you probably have! You could have seen this in an IF statement, a CASE statement, or just a regular calculation!

The big idea is that we can’t aggregate part of our calculated field while not aggregating another part of the same calculated field.

This is because aggregated functions run at a "summary" level, while a non-aggregated function runs at a “row by row” level. So, when we try to use these in one function, Tableau gets confused at exactly how to execute what we’re asking!

Want to fix those pesky calculations with aggregation errors? I’ll walk you through troubleshooting those in this video!

Resources:
•Example Tableau Workbook: https://public.tableau.com/views/Aggr...
•Why Aggregations Are Important in Tableau Calculations: https://onenumber.biz/blog-1/2022/12/...
•Cannot mix aggregate and non-aggregate comparisons or results in ‘IF’ expressions blog post: https://onenumber.biz/blog-1/2018/1/3...

Chapters:
0:00 Examples of Aggregation Errors
1:10 How Aggregations Work
4:00 Fixing General Aggregation Errors
4:45 Fixing Aggregation Errors in IF Statements
7:00 Fixing Aggregation Errors in CASE Statements
7:48 Upcoming Tableau Classes
8:26 Fixing Aggregation Errors in CASE Statements

Комментарии

Информация по комментариям в разработке