Multiple pivot data fields

Hi, it could be very useful to be able to have multiple data fields aggregations inside a single pivot, like you can do in Excel.
To make the column names unique, you can add the data-field name as suffix.

For example:
starting from table <id,warehouse,qty,value> you could obtain one shot the final table shown below instead of all this script:

Hi Marco,

How about a simpler workflow?

multiple-value-pivot.morph (3.7 KB)

Sorry I cannot open the proposed script because my version 5.8.2.18 is older than yours, but it looks to be the last available one.

We haven't triggered the update notifier yet, but the new version is already available on our website.