Skip to content
Bug Barometer
All issues
Solution Deployed

Tableau / Tableau Prep Builder

A Prep Flow Generates Incorrect Results when it Aggregates One Field to AVG() and the Other to SUM() after a Union

Summary

This issue would occur with simply a union and an aggregate step.

The flow generates incorrect result.

But in the preview of output step would be displayed as expected one.

Below are examples of the preview and actual output when an issue occurs:


The cause is by PushDownAggregates query optimization.

This happens at least in the following conditions:

  • There is an aggregation step after the union step.
  • In the aggregation step, multiple fields are aggregated and multiple aggregation calculations are used.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Deployed

    Nov 30, 2026