Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

pivot table: how to build subtotals?

Hi all,

i want to build subtotals for the dimension "Ratenschema", but i dont know how to do.

The subtotals should be for the column "Anzahl Paletten (PAE)   Formula=  [Anzahl Artikel] * factor

How can i avoid the "-" in the fields?

Thanks and regards,

Sabrina

Unbenannt.png

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

It looks like you are using expressions which cannot be evaluated at a total and subtotal level.

This is usually caused by 'naked fields", ie fields used in the expression not enclosed in an aggregation function (like max(), sum() etc). These field values cannot be evaluated at the total/subtotal level as they have more than one distinct value at that level.

You may need an Aggr() function to calculate this column. Something like:

Sum(Aggr(<your existing expression>, unit_id, Ratenschema)

See also here

Conditional Aggregations

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

7 Replies
marcus_sommer

You could enable sub-totals within the object properties in tab presentation (top left) and bottom left you could set options how NULL and EMPTY will be displayed.

- Marcus

Not applicable
Author

subtotals is already checked 😞

marcus_sommer

Have you set the subtotals for each dimension which you want?

jonathandienst
Partner - Champion III
Partner - Champion III

It looks like you are using expressions which cannot be evaluated at a total and subtotal level.

This is usually caused by 'naked fields", ie fields used in the expression not enclosed in an aggregation function (like max(), sum() etc). These field values cannot be evaluated at the total/subtotal level as they have more than one distinct value at that level.

You may need an Aggr() function to calculate this column. Something like:

Sum(Aggr(<your existing expression>, unit_id, Ratenschema)

See also here

Conditional Aggregations

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

yes, its done!

buzzy996
Master II
Master II

try this subtotals.PNG

Not applicable
Author

It works fine! Thank u all!! 🙂

qv1.jpg