I have a view that has two (aggregated) fields: total_A and total_B. I created a second view and added a 'Views Field View' field referencing the view with the totals. In the replacement patterns of this second view I get [view] and [%view] tokens, but had hoped for something like [view:total_A} and [view:total_B]. Is there a way to reference the individual fields of the embedded view?

Comments

damiankloip’s picture

Status: Active » Fixed

You mean you want to use an aggregation function on the views field? If so, no you can't really, as this would mean using a sql agg method on a computed value, which can't really happen. In the latest version you won't be able to do this, As aggregation on view fields has been disabled. see #1881036: Disable aggregation for views_field_view_handler_field_view

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ey’s picture

Issue summary: View changes
Status: Closed (fixed) » Closed (won't fix)

Just updated the status according to maintainer's comment. It was misleading that the issue had the status of 'fixed' in the issue queue.