Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
bmensing
Contributor III
Contributor III

Subtotals in Straight Table

Hello there,

i know that its possibly to get sub totals in a straight table by using the Dimension Limit Tab in Proberties.

For examble, i got two dimensions "Year/cw" and "Date", when i check the box Show totals on the second Dimension "Date", i ll get

several empty rows for "Year/cw" without data... i want to hide these rows...

Nachricht geändert durch Bernd Mensing

1 Solution

Accepted Solutions
Not applicable

I agree, that behaviour looks a bit quirky.

You could try replacing the Dimension definition for Date using this formula:

=If(Aggr(Sum(Amount), Date)<>0,Date)

Switching to a fully expanded pivot table also seems to work (but you lose the sorting of the straight table then).

View solution in original post

9 Replies
Anil_Babu_Samineni

Better if you provide sample mock up

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
bmensing
Contributor III
Contributor III
Author

its like

YEAR/CW     DATE    AMOUNT

2017/1           SubTotal 0,00

2017/2           SubTotal 0,00

2017/3           SubTotal 0,00

2017/4           SubTotal 140,12

i want to hide the first three rows...

Anil_Babu_Samineni

Do you un check the Suppress null value from presentation Tab?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable

Please check the Presentation tab for the chart and Check the option "Supress Zero-Values"

bmensing
Contributor III
Contributor III
Author

i've done that so far but the rows are still there...

Not applicable

Is the Amount column defined as a dimension or as an expression?   The suppress zero values option will only impact expressions.  Make sure the logic for the Amount is defined on the Expressions tab, and not on the Dimensions tab of the chart properties.

bmensing
Contributor III
Contributor III
Author

i ve created a sample, hope that will help!

Not applicable

I agree, that behaviour looks a bit quirky.

You could try replacing the Dimension definition for Date using this formula:

=If(Aggr(Sum(Amount), Date)<>0,Date)

Switching to a fully expanded pivot table also seems to work (but you lose the sorting of the straight table then).

bmensing
Contributor III
Contributor III
Author

Thank you so much, this is the perfect solution... needless to say that the Pivot is much slower due to the Performance...