mysticfall / pivot4j

Pivot4J provides a common API for OLAP servers which can be used to build an analytical service frontend with pivot style GUI.
Other
128 stars 101 forks source link

Aggregation header is broken when there is only a measure dimension is on the axis. #54

Closed mysticfall closed 11 years ago

mysticfall commented 11 years ago

Aggregation header is broken when there is only a measure dimension is on the axis.

SELECT {[Measures].[Store Cost], [Measures].[Unit Sales]} ON COLUMNS, {[Product].[All Products]} ON ROWS FROM [Sales]

As there's no space to display both aggregation title and member captions, we need to remove the latter in this case as an exception.

Need to add a test case for that also.

mysticfall commented 11 years ago

urg... mistakenly committed to #44 instead of #54