IBM Cognos - How can I place 2 crosstabs under 1 section? - crosstab

I'd like to have two crosstabs grouped with 1 section similar to this
Region A
Crosstab1
Crosstab2
Region B
Crosstab 1
Crosstab 2
Region c.... etc..
How can I accomplish this?
Thanks!

Create Crosstab 1
Section on Region
Unlock the report
Create Crosstab 2 underneath Crosstab 1, but within the "Section" container
Create a Master-Detail relationship in Crosstab 2 to match Crosstab 1 (I find it's useful to turn the icon for these on via Tools->Visual Aids
Note the Crosstabs will format separately; you may find adding fixed widths on the columns may help presentation

Related

multiple columns crosstab layout

how can I achieve below layout using a crosstab? Month in the top of the columns and columns below with their own names.
thanks
In the Cross-Tab Expert you can create groupings like this by just adding more columns (The outer-most groupings are those higher in the Column list). In your case, the first column of your Cross-Tab should be your record date with the option selected to print for each Month. Then just add the rest of your columns to your Cross-Tab as usual.
I have created the crosstab, added a formula that shows me the month name as column and the other fields as summarized fields. Then on crosstab expert -> Customized Style tab, under columns section I selected my grand totals, checked show labels and Horizontal and was able to get the desired layout. Thanks #Ryan

Is it possible to convert three row in section details of a crystal report to three column

Is it possible to convert three row of section details in crystal report to three column?
If i understand your question correctly, Yes it is possible. There are 2 ways:
1) Using CrossTabs.
2) At data level using SQL Pivot.
1) Using Crosstabs:
http://reportsyouneed.com/understanding-crystal-cross-tabs-part-1/
Cross tab 2
Cross tab 3
2) Using SQL Pivot:
Pivot 1
Pivot 2
Almost what you want
There are may other resources.
Hope it helps

Multiple crosstabs in the summary band using iReport

I have implemented a JasperReports report (using iReport) which consist of multiple crosstabs in the summary band which works successfully with the following stricture
Summary {
Crosstab 1
Page Break
Crosstab 2
Page Break
Crosstab 3
Page Break
Crosstab 4
Page Break
Crosstab 5
}
The user requirement is to remove the page break and show crosstabs one by one without breaks like this structure :
Summary {
Crosstab 1
Crosstab 2
Crosstab 3
Crosstab 4
Crosstab 5
}
But when I removed the page break, the crosstabs get overlapped.
Any suggestions ?
Try setting property Position Type to Float or Fix relative to bottom, I think float should solve your problem. If that doesn't work you'll probably have to make crosstab elements large enough to fit the actual data.

Crystal Reports 2 column crosstab

Using crosstab expert in CRpts, populating the columns selection with 2 column names and using preview, report has I cannot tell what is what. Report has helpdesk total by date and out of that total there is a group count for another dept. Report looks great with one column selected. However, once I select a column fr db and select it to the columns with Crosstab expert, the columns in the report preview are displayed but hard to tell what is what since I get No and Yes columns. I also have Keep Groups together, column totals on top, and Row totals on left "checked" out.
I want to be have: grand toatl column(for helpdesk) total for Dist. Classrooms afected totals
Can you help? I am also new to CR and have not been able to make a "hit" researching.
Based on the above, I want a report to look like:
(col 1) (col 2) (col 3
Date Group District Classes Affected
Crosstab expert has: 2 rows, 2 summaries(sum on date and grandtotal on top), 1 col(which works great with only col 2 used as column but not when I include col 3).
District is count of district's in group
Classes Affected is count of groups count.
Is this better?

Variable Number of Plots in an MS Access Chart

I have the following problem with MS Access:
Suppose I have a list of companies with monthly performance values. I can view the performance of a single company in a chart by hooking the chart into a query with a Month column and a Performance column.
Now suppose I want to display a chart for N companies. I could theoretically do this if I were to generate a query with a Month column and N Performance columns (one for each company). Is there any way to create a query with a variable column count like this? I have a SQL backend that I can use if necessary, and I'm fine with putting together any VBA code necessary to support it. The only impediment I'm seeing is that I'm stuck using MS Access, which I am not very familiar with.
So here are my main questions:
Is this even possible?
How would I go about tackling this issue? I'm trying to minimize research time, so it would be great if I could just get pointed in the right direction.
Thanks!
With this table:
company pmonth performance
1 1 10
2 1 8
3 1 15
1 2 15
2 2 5
3 2 25
1 3 5
2 3 4
3 3 20
I create this query:
SELECT p.company, p.pmonth, p.performance
FROM MonthlyPerformance AS p;
Then change the query to PivotChart View and drag company field to "Drop Series Fields Here", drag pmonth to "Drop Category Fields Here", and drag performance field to "Drop Data Fields Here".
If you prefer, you can create a form using the same query SQL as its data source, then set the form's Default View to PivotChart, and set up the chart the same way as I did for PivotChart view on the query.
If that's not what you want, give us some more information about the type of chart you want and the context in which you will display it.