Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Custom totals in pivot table

I have a pivot table with a total column at the end.

What I ideally want is the following:

1) create my own custom total, summing up all the values of the week (at the moment the original expression is doing a count distinct)

2) move the total from the end of the table to the beginning

Is this possible? If yes, then how?

12 Replies
Anonymous
Not applicable
Author

post the sample app

Not applicable
Author

Hi,

Please see attached example file

As you can see in the example I am doing a distinct count on the customers and orders. But I want to total to appear as the first column and the total for Customer Count for example to appear as 9 and not 8

Thank you.

Anonymous
Not applicable
Author

Hi have did a lil twist to solve your problem hope this solves your problem

find the qvw attached

count( DISTINCT Customers&[Financial Week])

Anonymous
Not applicable
Author

Financial Week W26 2015W27 2015W28 2015Total
Customer Count4419
Order Count34310
Not applicable
Author

Thanks for that.

So, there isn't a way of moving that total column from the end to the beginning is there?

As you can imagine, if you have multiple weeks, the total column will be pushed to the end, and you are constantly having to scroll across. So, ideally, can I achieve this:

Not applicable
Author

Hi sabahsdada,


To move the total to the beginning of the table when pivoted horizontally:

  1. Right click - properties - Presentation Tab click 'Subtotals on top'

Thanks

Anonymous
Not applicable
Author

there is a way please find the attached qvw

Anonymous
Not applicable
Author

PFA

Not applicable
Author

Perfect thanks!! That worked