I am trying to create an aggregate table in QuickSight and have brought in the four string columns and one decimal column that I want to aggregate. When I try to add the Aggregate step, it is disabled. Since it was disabled, I started removing the string columns to get down to a single column and also have the integer column on which I want to aggregate, yet the step is still disabled. Is there a step that needs to be completed before the Aggregate step will become enabled?
UPDATE - I was in Direct Query mode and it became enabled when I changed to SPICE. Not sure why it cannot be done in Direct Query, but I have to live with this for now.
This behavior is expected as QuickSight limits certain actions in Direct Query, which includes aggregations. Direct Query runs queries in real time against the source, which restricts complex transformations and is subject to database capabilities and timeouts. SPICE is not the same way as SPICE does not run queries in real time against the source but rather stores the data in QuickSight’ in-memory engine.
@TraderRef (cc: @JacobR ) The net new functionalities (Pivot, Unpivot, Append, Aggregate, Divergence etc.) are available only in SPICE mode. There is a reason why DirectQuery is not supported for these features. Transformations like Pivot is an advanced prep functionality and can cause timeouts when using DirectQuery. Documentation below talks about this.