Cross tab design
Hi to all,
I add a table,fieldobjects dynamically during runtime
by program to crystal report, now all the records are
displaying in this model
HeaderText1 HeaderText2
*Data1 Data2
*Data2 Data2
Now i want to show in this model
HeaderText1 Data1 HeaderText2 Data1
HeaderText1 Data2 HeaderText2 Data2
HeaderText1 Data3 HeaderText2 Data3
HeaderText1 Data4 HeaderText2 Data4
I think this is possible in CrossTab but i dont know how to
use it. Experts please tell me my thought is right then tell me
how to use it? or give me any solutions
Softwares i'm using Crystal Report 11.5, Visual Studio2005-C#,Asp.Net and SQL Server 2005
Thanks in advance
Unfortunately creating a Crosstab directly through the SDK's available for .NET is not possible. You may be able to create a similar functionality by creating formulas that append information to a database field then inserting the formula onto the report.]
I would suggest reviewing our RAS Report creation api samples available [here|https://boc.sdn.sap.com/samples/84/1194]
Similar Messages
-
Shared Var in Cross-Tab Design
Post Author: bkormoski
CA Forum: General
I have a cross-tab design that requires me to used shared var from a subreport. The SV formulas are not in my available fields in cross-tab wizard. What other choices are there?
I am creating a summary financial statement that requires information from multi tables - because they are not directly related I am creating SV's to get the info I need. Any ideas welcome. THANKsPost Author: RichardN
CA Forum: General
I'm having a similar problem. I've created two variables in the main report
PLACE:
WhilePrintingRecords;Shared StringVar VPNum;VPNum
VENDPROD:
WhilePrintingRecords;{@Place}
I can insert VENDPROD into my cross-tab but the field is blank. On the details line, boty PLACE and VENDPROD display the correct (string) values. I've placed the Cross-Tab in both the Report Header and Report Footer sections and the VENDPROD field is always blank in the cross-tab. What am I doing wrong?
Thank you,
RN -
Cross tab design : x position based on number of columns
Hello everybody,
In my report, I have a group section for the country.
For each country and in the group header, I have 2 cross tab.
They have always the same number of columns (columns is period).
But 2 country could have different number of periods.
I need to have the 2d cross tab just near the 1st (right side) so I want to change x position of the 2d cross tab depending of the number of period.
I have try to use GetNumColumns but it doesn't work (always not supported), this is the same for other grid value function.
I'm not sure to understand why ...
So I have tried to calculate the number of row , using another group (period), but I can't summarize in a header.
I'm a little bit lost and need some new idea...
For information, my reports are based on a simple mysql DB.
Thankshello, i see that no one has responded to your forum post...is this still an issue?
in the Section Expert for the section where the cross-tabs are sitting, there is a Relative Positions checkbox wherein the cross-tabs will stay in a relative x postion to each other.
e.g. if you are in design mode and the cross-tabs are 1/2 inch from each other, when previewed, the 2nd cross-tab will start 1/2 inch after the 1st one stops.
cheers,
jamie -
Creation of cross tab report in Bw 3.5 Query designer
Hi,
Please tell me the procedure to create cross tab report in BW 3.5 Query designer. Kindly reply as early as possible.
Regards,
Hari Phrased B.Hi,
What exactly do you mean by "cross tab report"...do you mean a web report with different tabs? -
How to design customize Cross tab in Crystal 9
hi guys,
i'm having a big problem in designing this format in cross tab, coz it causes a lot of space that i wouldnt need in displaying the report in my application here's i want to show on my report,
this is just a sample data, but this is supposed the designed, or the output in crystal cross tab
SM gl orieta buyer and soon.....
sales TX PX sales TX PX sales TX PX
Mar-1 Mon 1000 1 1 200 2 3 400 4 5
Mar-2 Tue 200 10 11 300 4 8 220 5 8
Mar-31 Sun
Running Total 1200 500 620
Discount 200 300 400
Net sales 2000 3000 5000
Quota 100000 1200000 250000
TX 11 6 9
PX 12 11 13
the upper is the name of the stores which supposed to be dynamic, each store have 3 column which are the sales,TX and PX, on the left side is date which is my parameter is filtering sales by date, under the last date of the month is the running total followed by discount, net sales and soon.. Now my problem is how i'm going to design it in cross tab format in crystal report 9..any suggestion or other way to do it...Please re-post if this is still an issue
-
Visual studio cross tab report design problem
I have visual studio 2008 and its default crystal reports.
I have created a cross tab report that has a lot of columns and only 3 rows.
So the total number of pages that get printed are 34. (with 12 columns at the top of each page since the xtab is in report header).
My client wants me to utilize the space left at the bottom of the page by having 12 columns at the top and 12 columns at the bottom of the page.
I don't know how this can be achieved.
If the problem is not clear then let me know I'll try to explain more.
I am on a deadline here so please help me.Hello,
I suggest you also search Forums, there are multiple posting on how to add multiple Xtabs.
This is a public area for all to use and not a case management system. If you are in a hurry I suggest you contact Support after purchasing a support incident and have a dedicated Engineer help you directly. You can get one from this link:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551
Thank you
Don
Edited by: Don Williams on Nov 8, 2009 10:39 AM -
Design Monthly Report in Cross Tab
Hi Experts,
I want to create Cross tab report in the following model.
Jan Feb Mar Apr May
State 1 No. of Documents
State 2
State 3
I have only document for Feb month. I want to display Zero for others. While I am trying to create this I just get only one column for Feb month without month name.
Please help me.Hi Sastry,
Thanks for your reply. I tried your idea but i am getting only for February month not for all the months.
In Group option i have to select which field formula field or database field.
If i select database field column label changed.
Also I unchecked suppress blank columns / rows from cross custom style.
Give me your suggestions.
Thanks & Regards,
Poonkodi. K -
Date Format is not Working in Cross tab Crystal report 2008
Hi,
I have developed an application ASP.Net c#
in Framework 3.5 with crystal report 2008 with service pack 5.
in my crystal i used cross tab to show the grid records. one of the data having the data type as date time after launching the report, when i export the report with option "export to excel (data only)" and check the format of the date value in excel it show the general string
if i place that data in any other location other than cross tab then it reflects the format what i give in report design. but when the control is in cross tab
its not effect
how to solve this!And tweeted
- Ludek
Senior Support Engineer
AGS Product Support, Global Support Center Canada
Follow us on Twitter -
How to put report title and page no to appear in multiple pages,when using cross tab reports
Post Author: shaminranaweera
CA Forum: General
I am using crystal reports 9.0 with odbc foxpro database conectivity
I have designed a cross tab report and it is on the report header part and all the report details are fine,except that the report title and and page no's only show on the first page of my report.Pls tell me how can i put my report title and page no on all the pages in my crosstab.Post Author: foghat
CA Forum: General
You need to put your title in the page header if you want it to appear on every page. The report header only displays once per report. -
How to add an image or static text in the header of EACH page of a cross-Tab report
Post Author: rtutus
CA Forum: General
Hi, I use Crustal 11.0.
I have a cross Tab. I display the items on the left column and the months horizontally, the items are grouped by category field. The values are the sum of quantities are displayed for each month. Like this:
Items Jan Feb March .....................Total
Category 1
Item11 val11 Val12 Val13 Total values
Item12 val21 Val22 Val23 Total values
Item13 val31 Val32 Val33 Total values
Category 2
Item21 val11 Val12 Val13 Total values
Item22 val21 Val22 Val23 Total values
Item23 val31 Val32 Val33 Total values
Category 3
Item31 val11 Val12 Val13 Total values
Item32 val21 Val22 Val23 Total values
Item33 val31 Val32 Val33 Total values
The problem, I want to add a page header for each page of the report.
When Crystal reports first displays my cross-tab in the designer, CR displays the cross tab in the Report header section. I d like to add text or image for each page and not only at the begining of my Cross-Tab.
If I just add an image or text at the top of the report designer, which is my report header, I get the image or text only on the begining of the 1st page of my report but never in the other following pages.
If I try to work around the problem and move the cross Tab to a group section instead, and then put the Image in the group header, I get what I want, but the problem is that:
The columns header: Jan, February....December are displayed for each group of my report and not only in the beginning of the report. I get something like this:
Items Jan Feb March .....................Total
Category 1
Item11 val11 Val12 Val13 Total values
Item12 val21 Val22 Val23 Total values
Item13 val31 Val32 Val33 Total values
Items Jan Feb March .....................Total
Category 2
Item21 val11 Val12 Val13 Total values
Item22 val21 Val22 Val23 Total values
Item23 val31 Val32 Val33 Total values
Items Jan Feb March .....................Total
Category 3
Item31 val11 Val12 Val13 Total values
Item32 val21 Val22 Val23 Total values
Item33 val31 Val32 Val33 Total values
You see the months get duplicated. Any way, my real need is to add an image or text in the header of EACH page of a cross-Tab report.
Thanks a lot for your help.Hi Divya,
you could do for example in the wdDoInit() of the view
wdContext.currentContextElement().setPicture("picture.gif");
Now you assign this context variable to the Tab using the Tab_header's imageSource-Property. When you click on its value column, you see a button with three dots on it. If you click on this button, you will get all context nodes and attributes for this View. Usable variables are clearly marked, you now choose the one named Picture or what ever name you prefer to use. But it must correspond to the one set in the wdDoInit.
I think setting a picture (not necessarily for the tab-page) is done in one of the excellent tutorials. If you are a newcomer I strongly recommend doing some of the tutorials. I have learned tremendously from them.
Hope this helped
Harald -
Hide Column in Cross Tab Report
Hi guys,
I have an issue with the Cross Tab in CR2008.
I'm using 2 columns to calculate an other column, but these 2 columns should not be displayed in the report.
I tried to suppress the column but it still shows a white space.
I tried to change the column width, but it cant get it smaller then 0,113.
Can anyone tell me how to set the column width smaller using a formula or how to suppress the whole column.
Thanks in advance.
WilliamHi William,
Instead of using all 3 columns in the crosstab, just drop your main columnn on.
In the Design window, not the Crosstab Experrt, right-click the summary field and select Format Field.
In the Common Tab, open the formula for Display String.
Now you can take the value of your summary using the CurrentFieldValue and make your total. You may need to summarize the supporting numbers to calculate properly but it should work here properly.
I've used this for things like running totals and repeating values between rows.
NOTE: This formula only returns a string so make sure you format your final value as a string.
Good luck,
Brian -
Problem in Cross Tab Report in crytsal report
Dear members,
I have designed and generated a cross tab report with fields being percentage,country,amounts. i have obtained the sum of row level.But i need to obtain the sum of amounts in each region wise. I need the report as shown below. I have tried the running total field in cross tab as sum but its showing the overall total.
Month PO Ger EurTot.USA Canada NATot
5% 10 20 30 15 25 40
But i am getting the report as like this.
Month TOTAL PO GER USA CAN INDIA
10% 150 15 30 15 45 45.
Can anyone please help me in this regard?
Thanks and Regards,
Venkatesh.RHi,
cross tab is a diagonal report , u have to make query in such a way so that it returns the all field in row and columns way i.e in diagonal form .
U have to fetch total in same manner
Rgds,
Premraj -
Hello...
I created one cross tab with 10 rows and 2 columns.(In Crosstab Expert) Based on grouping i got 5 set of cross tab reports,Each cross tab contains 4 records .But in between these crosstabs blank spaces are there ,How can i avoid such blank spaces...
Expecting Answers.....Thanks...Hello Jebin
I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
It is monitored by qualified technicians and you will get a faster response there.
Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
Best regards,
Falk -
Issue with passing parameters through Java-JSP in a report with cross tab
Can anyone tell me, if there's a bug in Java SDK in passing the parameters to a report (rpt file) that has a cross tab in it ?
I hava report that works perfectly fine
with ODBC through IDE and also through browser (JSP page)
(ii) with JDBC in CR 2011 IDE
the rpt file has a cross tab and accpts two parameters.
When I run the JDBC report through JSP the parameters are never considered. The same report works fine when I remove the cross tab and make it a simple report.
I have posted this to CR SDK forum and have not received any reply. This have become a blocker and because of this our delivery has been postponed. We are left with two choices,
Re-Write the rpt files not to have cross-tabs - This would take significant effort
OR
(ii) Abandon the crystal solution and try out any other java based solutions available.
I have given the code here in this forum posting..
CR 2011 - JDBC Report Issue in passing parameters
TIA
DRG
TIA
DRGMr.James,
Thank you for the reply.
As I stated earlier, we have been using the latest service pack (12) when I generated the log file that is uploaded earlier.
To confirm this further, I downloaded the complete eclipse bundle from sdn site and reran the rpt files. No change in the behaviour and the bug is reproducible.
You are right about the parameters, we are using {?@Direction} is: n(1.0)
{?@BDate} is: dt(d(1973-01-01),t(00:00:00.453000000)) as parameters in JSP and we get 146 records when we directly execute the stored procedure. The date and the direction parameter values stored in design time are different. '1965-01-01' and Direction 1.
When we run the JSP page, The parameter that is passed through the JSP page, is displayed correctly on the right top of the report view. But the data that is displayed in cross tab is not corresponding to the date and direction parameter. It corresponds to 1965-01-01 and direction 1 which are saved at design time.
You can test this by modifying the parameter values in the JSP page that I sent earlier. You will see the displayed data will remain same irrespective of the parameter.
Further to note, Before each trial run, I modify the parameters in JSP page, build them and redeploy so that caching does not affect the end result.
This behaviour, we observe on all the reports that have cross-tabs. These reports work perfectly fine when rendered through ODBC-ActiveX viewer and the bug is observable only when ran through Java runtime library. We get this bug on view, export and print functionalities as well.
Additionally we tested the same in
With CR version 2008 instead of CR 2011.
(ii) Different browsers ranging from IE 7 through 9 and FF 7.
The complete environment and various softwares that we used for this testing are,
OS : XP Latest updates as on Oct 2011.
App Server: GlassFish Version 3 with Java version 1.6 and build 21
Database server ; SQL Server 2005. SP 3 - Dev Ed.
JTds JDBC type 4 driver version - 1.2.5 from source forge.
Eclipse : Helios along with crystal libraries directly downloaded from SDN site.
I am uploading the log file that is generated when rendering the rpt for view in IE 8
Regards
DRG -
How to correct XML Output in Cross Tab Template for sum function?
I have designed a Cross Tab Template to summarize R12 Account Analysis data by Period by Party_name. The template is doing what I want it to do with the exception of amount. I have a function in the sum(accounted_net) field and it will only display 0.00 even though I know there are actual amount. Can someone help in looking at my template to see what I have done wrong?
Here is the sum funciton.
<?if:count(current-group()[CCID_SOURCE=$ABC])?><?sum(current-group()[CCID_SOURCE=$ABC]/ACCOUNTED_NET)?> <?end if?>
CCID_SOURCE is an element I created in XML to concatnate CCID and Party_name for grouping. $ABC is a variable that I defined for "CCID_SOURCE" to check if there is null value for a specific ccid_party. If it's null, it won't do the sum function, otherwise it will sum the accounted_net for the period_name, party_name.
Thank you for your help.
StaceyFigured this out on our own
Maybe you are looking for
-
Use of MEASURES dimension in a RUNALLOCATION in a script logic
Hi everybody, We are trying to use MEASURES dimension inside a RUNALLOCATION in a script logic, because we need to work with the information at a YTD element Example: It works: *XDIM_MEMBERSET C_CATEGORY=%C_CATEGORY_SET% *XDIM_MEMBERSET TIEMPO=%TIEMP
-
Best setup for multiple email accounts
I have 8 email accounts in my iphone 3G and it seems that many times it gets "hung" up on the first one (gmail) because it just says "connecting". The only way to solve it is to turn the phone off and then on again, which I'm doing several times a da
-
Changing web gallery presets (like background colour) and saving fields
Hello all-can this be done and, if so, how? I want to change the "Stock" preset (with a black BG) so that it features a dark grey instead. As well, I want Aperture to remember my studio name, etc.; for now, all that is remembered is copyright info. I
-
Where is a calculator on my iPad?
Where is a calculator on my iPad?
-
Scoping Dimension Members, Incorrect TOTAL Levels
I have successfully applied security on my analytical workspace using PERMIT_READ and FGAC. The guide that I had followed can be read at the following link: http://www.oracle.com/technology/products/bi/olap/olap10g_applying_aw_security.doc My problem