Question

I have a set of data that needs to be displayed as a crosstab in Cognos. Example data includes

    ID, Month, Year, State
    1, 10, 2008, 25
    2, 10, 2008, 26

The problem is that in the crosstab, the month column is duplicated for each row instead of using the same column for the month.

Example:

ID   2008    2008
     10      10
1    25
2            26
Was it helpful?

Solution 5

Reworked the report after working on the view to keep the problem from occurring again.

OTHER TIPS

I'm not a Cognos guy but it sounds like your detail is not wrapped in an aggregate function like SUM(x).

Cognos allows you to enter SQL Queries in addition of plain reporting of data. Try to dive into that

Can you tell us what you drug out into your cross tab by the row, column and measure drop zones? Is your data source relational data or a cube? With a little more info, I think we can figure this out.

Chris

Normally in Report, basic purpose is to show the Aggregations based on some criteria. but in your example, the data provided does not make any sense that WHAT actually you want in Cross Table?...if you can define what you want then solution is really simple...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top