473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

crystal report cross-tab


i have the need for a bit of an complex cross-tab report.

the following information needs to be shown in 1 report.

projectname
department
hours quarter 1,2,3 and 4
and offcourse all sort of summerized fields.

i want all the projectnames listed and then for every department it has
to show the quarter 1,2,3 and 4

DEP1 DEP2 and so forward
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
projectA 1 2 6 12 55 77 18 99
projectB 5 11 88 99 4 23 22 66

and this with the buildin crystal report designer in visual studio .Net

I hope it is clear and possible, so far i have not been able to figure
out how to get these fields out there. It keeps making too many
crosses,

Is a simular kind of report possible without cross-tab ?

Feb 20 '06 #1
3 3660
Certainly this is possible without a cross tab, create a temp table (or a
datatable) and manually populate it, then it will be just a regular report.

I would imagine that for your crosstab report, you have a query that outputs
something close to the desired data?

i.e

Select Projects.ProjectName, Tasks.TaskName, Departments.DepartmentName,
Sum(Tasks.TaskActualHours), datepart(qq,Tasks.TaskActualCompleteDate)
From ... <complete your joins>
Group By

Now you would have data that looked like

B2BWebservice | Security | A Team | 325 | 1
B2BWebservice | Cataloge | A Team | 248 | 2
B2BWebservice | eCommerce | A Team| 19 | 3

CommercialWeb | Security | B Team | 400 | 1
CommercialWeb | Cataloge | B Team | 65 | 2
CommercialWeb | eCommerce | B Team| 110 | 3
The crosstab wizard in crystal should understand this.

"willemp" <ic*******@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...

i have the need for a bit of an complex cross-tab report.

the following information needs to be shown in 1 report.

projectname
department
hours quarter 1,2,3 and 4
and offcourse all sort of summerized fields.

i want all the projectnames listed and then for every department it has
to show the quarter 1,2,3 and 4

DEP1 DEP2 and so forward
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
projectA 1 2 6 12 55 77 18 99
projectB 5 11 88 99 4 23 22 66

and this with the buildin crystal report designer in visual studio .Net

I hope it is clear and possible, so far i have not been able to figure
out how to get these fields out there. It keeps making too many
crosses,

Is a simular kind of report possible without cross-tab ?

Feb 21 '06 #2
my query did not output data as your query does, i will try it with a
simular query as yours.

Feb 23 '06 #3
that seems to have done the trick, thank you.

however for future reference is it possible to build a report when you
only have monthly hours and not quarter numbers, so that you have to
summerize them yourself ?

Feb 23 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
1
by: samik_tanik | last post by:
I want to use the Crystal Report to display and allow the clients to create the .rpt files in the browser at runtime and allow them to drill down and use cross-tabs. To check out the possibilities...
13
by: kristoff plasun | last post by:
I have a problem with a C++ DCOM application that prints Crystal Reports with data from Oracle. The SQL query is relatively complex but when the report is printed from the Crystal Reports...
1
by: bthomas71chevy | last post by:
I have just setup a WebServer and all the applications work fine, but when every any of the applications try to generate a Crystal Report the page errors out. "File or assembly name...
3
by: Brad | last post by:
In a Vista/IIS7 asp.net app, a coded crystal report export is crashing IIS7....but it works just fine in visual studio's cassini web server. And if I create a web form and use the crystal...
1
by: ssk | last post by:
Hello there, I have one crystal report in VisulaStudio 2003 C#, i have used IGraphObject for Line Chart. My data is somewhat like this 0.00, 0.01, 0.03 ....etc on y axis and...
11
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
How can I stop receiving this message while calling a crystal report? "The report you requested requires further information." Thanks
3
by: Brock | last post by:
I am trying to populate a Crystal Report from data in my DataGrid. The reason for this is that I want the user to be able to change values without updating the database, but still have their...
3
by: Miro | last post by:
Hi, Just wondering what a good book is on visual studios 2008 ( or 2005 if no 2008 ) that teaches you how to properly use crystal reports with it. Or im assuming that as long as I can create a...
2
Pittaman
by: Pittaman | last post by:
Hello I am creating some crystal reports (for visual studio 2005) based on the content of certain .NET objects. I'm doing this in .NET 2.0. For one of them I'm using a Cross-table to summarize...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.