Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Totals on Straight Table

Good afternoon,

Hello

I have a straight table and I am creating totals for a particular column based upon breaks in another field.

I now have the following:

Account Number     Acct Desc       Balance           Total

1234                        Fred                1000                1200

1234                        Fred                  200                1200

1234                        Fred                                        1200

I am having an issue blanking out the total in the first 2 rows.

Thanks,

Mitch


10 Replies
swuehl
MVP
MVP

Is Total an expression, like

=Sum(Total<[Account Number]> Balance)

?

Then try

=If(Sum(Balance), '', Sum(Total<[Account Number]> Balance) )

Not applicable
Author


That ended up blanking out all the totals.

Any other thoughts?

jepeerik
Contributor III
Contributor III

It looks like a Pivot Table instead of a Straight table.

On the Presentation tab Add the option of Show Partial Sums on the correct Dimension and turn on option Always Fully Expanded.

Sharing knowledge increases your knowledge
swuehl
MVP
MVP

I think i haven't fully understood how your chart is built up.

Could you detail which dimensions and expressions you are using? Or post a small sample QVW?

Not applicable
Author

Table loaded                                          

Effective DateAccountNumberNameZipBalance
1/31/201656789Joe1134510000
2/29/201656789Joe113451300
1/31/201677789Mitch435214500
1/31/201692345Peter4678912345
2/29/201692345Peter4678911111

Using this table, I want to create a straight table that shows the following:

                                                                      

Effective DateAccountNumberNameZipBalance
1/31/201656789Joe1134510000
2/29/201656789Joe113451300
56789Joe1134511300
1/31/201677789Mitch435214500
77789Mitch435214500
1/31/201692345Peter4678912345
2/29/201692345Peter4678911111
92345Peter4678923456

The total line represents a break in AccountNumber, Name ,Zip.

I am getting everything except for the total amount.

Thanks

swuehl
MVP
MVP

Ok, but how do you create the total line in your straight table? Still missing this piece.

Maybe just use a pivot table with partial sums instead?

settu_periasamy
Master III
Master III

Hi,

May be try like this in your straight table..

In the Dimension limit Tab ->  Check the "Show Total" option  for your "Effective Date" Field.

Capture.JPG

Not applicable
Author

Hi

How did you do this?

When I do it, the totals break on Effective Date instead of AccountNumber

Not applicable
Author

Thanks Settu for the handy workaround.