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.R
Hi,
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
Similar Messages
-
I have a problem with cross tab.
When I do grouping on date according to month and summarize the units I am getting the result as 58
while I do grouping without the croos tab generally in the details section I get the result to be 64.
I am not able to understand where is the problem.
Even when I write a query i get the answer as 64.Hi,
Summarizing with a Cross-tab and creating a summary of a group are one and the same; I mean, the summary results are always the same.
Could you check the summary operation in the crosstab, could you confirm if it is not count or something else?
Also, create a summary and place it on the Group Header/Footer. It should be same as the Crosstab results for the that particular group.
-Abhilash -
Discover group problem with cross tab report
Hi, I'm working on a cross tab report in discoverer 4i and I'm having a problem with two of the colums. I'm doing a count on one field but because they are called something different they are being shown as two seperate columns rather than 1.
I have one called 101 -AVG and another called 101-AVG. My condition pulls every result back that starts with 101 in the table. So because in the table the values are different it breaks the count into totals for 101 -AVG and 101-AVG.
Is there some way I can group these results together into one field?
thanks,
IanPitson,
better to ask this question in the BI Publisher Forum than here in the Oracle Reports Forum:
BI Publisher
Regards
Rainer -
Problem with Cross-tab report (RTF Template) null values, current-group()
Hi, experts!
I generate Cross-tab report using RTF Tamlpate and I have problem with grouping.
My XML file have to be with one group only because I want to using dynamic regrouping inside the RTF template.
Here is my data structure (XML file):(Look the images for details)
http://img156.imageshack.us/img156/3997/xmlstructureay9.jpg
=======================
WITH GROUPS
=======================
Here is my RTF template:
http://img151.imageshack.us/img151/2951/resultcrosstabbycustomehf8.jpg
When I'm using grouping and I want to have for each group cross-tab report I have the following problem: (Look the images for details)
http://img156.imageshack.us/img156/8786/resultcrosstabbycustomect9.jpg
And this is my code I'm using inside the RTF template with groups:(Look the images for details)
http://img156.imageshack.us/img156/4253/fieldbrowserxb7.jpg
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
=======================
WITHOUT GROUPS
=======================
Here is my RTF template:
http://img151.imageshack.us/img151/9545/resultcrosstabwithoutgrzg7.jpg
When I generate one cross-tab there is no problem: (Look the images for details)
http://img156.imageshack.us/img156/7030/resultcrosstabwithoutgrsr1.jpg
This is my code I'm using inside the RTF template WITHOUT groups:(Look the images for details)
http://img151.imageshack.us/img151/7030/fieldbrowserwithoutgrours8.jpg
Can someone give me a hand to deal with this?
Thank you!Pitson,
better to ask this question in the BI Publisher Forum than here in the Oracle Reports Forum:
BI Publisher
Regards
Rainer -
Problem with Cross-tab report (RTF Template)
Hi, experts!
I generate Cross-tab report using RTF Tamlpate and I have problem with grouping.
My XML file have to be with one group only because I want to using dynamic regrouping inside the RTF template.
Here is my data structure (XML file):(Look the images for details)
http://img156.imageshack.us/img156/3997/xmlstructureay9.jpg
=======================
WITH GROUPS
=======================
Here is my RTF template:
http://img151.imageshack.us/img151/2951/resultcrosstabbycustomehf8.jpg
When I'm using grouping and I want to have for each group cross-tab report I have the following problem: (Look the images for details)
http://img156.imageshack.us/img156/8786/resultcrosstabbycustomect9.jpg
And this is my code I'm using inside the RTF template with groups:(Look the images for details)
http://img156.imageshack.us/img156/4253/fieldbrowserxb7.jpg
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
=======================
WITHOUT GROUPS
=======================
Here is my RTF template:
http://img151.imageshack.us/img151/9545/resultcrosstabwithoutgrzg7.jpg
When I generate one cross-tab there is no problem: (Look the images for details)
http://img156.imageshack.us/img156/7030/resultcrosstabwithoutgrsr1.jpg
This is my code I'm using inside the RTF template WITHOUT groups:(Look the images for details)
http://img151.imageshack.us/img151/7030/fieldbrowserwithoutgrours8.jpg
Can someone give me a hand to deal with this?
Thank you!Pitson,
better to ask this question in the BI Publisher Forum than here in the Oracle Reports Forum:
BI Publisher
Regards
Rainer -
Need horizontal pages of my cross tab in a sub report
How can I avoid Crystal from cutting the horizontal pages of
my cross tab in a subreport.
I tried the suggestion in
Cross Tab Question
but the length of the columns is not fix.
So I tried a division with 170 to 200, but if there are
20 values in the first column and only 4 in the next 30 columns,
my cross tab expandes to much.
I have only enough space for 10 columns.
Thanks.I also encountered this problem and I have no idea how to create a cross tab manually. Could you please give me some idea on how to create one. The cross tab in my report has a variable number of columns(e.g. the report could produce two crosstabs, the first cross tab has 16 columns and the second one has 4 columns.)
-
Count from Cross TAB1 should add to Line Number in Cross TAB 2 in 1 report
Hello Friends I have 2 cross Tab1 based on 2 query data providers. I need to feed calculate the Count of Items in Cross Tab1 and add that to line Number in Cross TAB2 which sit below cross tab1
So if there are 21 items in Cross TAB1 then Line Number in Cross TAB 2 shall be 22
so do this i Created a count variable
=Count([Item ID]) In Report
which give me 21 in cross tab1 but when I drag that to cross tab2 it give junk value 179
so How do I fix this Line number Count in Cross Tab 2
Please help with code to say Count([Item ID]) In Report from cross tab1 and add Line Number to it = 22
thanks
soniyaHello Friends I have cross Tab1 and Cross Tab2 based on 2 query data providers. I need to feed calculate the Count of Items in Cross Tab1 and DISPLAY In cross Tab2
Dimension name is ITEM ID
So if there are 21 items in Cross TAB1 then in Cross TAB 2
I want to display "Number of Item" = 21
so do this i Created a count variable
=Count([Item ID]) In Report
which give me 21 in cross tab1 but when I drag that to cross tab2 it give me count of Item in Cross Tab2 = 87 which is wrong since i want 21
so How do I fix this Count in Cross Tab 2
Please help with code to say Count([Item ID]) In Report from cross tab1
thanks
Soniya -
Cross-tabs in Multiple Sub-reports
Post Author: Kiwi Jan
CA Forum: Crystal Reports
I have created a crystal report which contains multiple detail sections (Da-Di). Each detail section contains a subreport, which contains a cross-tab.
I have done this because I need to create one excel spreadsheet which contains data from different types of cross tabs.
For example, one cross tab lists accounts and totals, the second lists accounts and totals by cost centre (17 of these), and a third lists accounts and totals by product group (11 of these).
I have lined up all the columns perfectly, and when I export to Excel (Data only), it works perfectly, and I get all the rows and columns of all the cross-tabs in one excel worksheet. Brilliant.
However, when I print, preview or export to pdf, I only see the "real" page and do not see any virtual pages that are shown in each of the sub-reports.
How can I print or view this from the main report and get the virtual pages as well, without stuffing up my export to excel?
Any suggestions would be greatly appreciated.Hi Kim,
What version on Crystal Reports are you using? If its CR 2008 then you can take advantage of the various gridvalue functions and the calculated member feature available.
Here's what you need to do:
1) In 'Preview' mode, right click the 1st col and select Calculated Member > Insert Column
2) This will insert a col after the 1st col. To make the newly added col appear 1st, right click on the top left corner of the crosstab and go to Advanced Calculations > Calculated Member
3) In the Properties area, set the Insert Evaluation to 'Before'
4) Now the new col would be the 1st col in the crosstab and it's values would be 0
5) You said you calculate the Billed Amount on some logic; you can apply the summarization logic by editing the calculation formula
6) Right click one of the 0 values in the new col and select Calculated Member > Edit Calculation Formula. Use the formula in this manner:
select Gridlabelat("Row",currentrowindex)
case "Job1" : 50
case "Job2" : 20
Default : 0
The function GridLabelAt() accepts 2 parameters: 1st is the name of the row. In this case it would be your database field name. Suppose your database field used as a row is called Customer.Country then the formula would be:
Gridlabelat("Customer.Country",currentrowindex)
You can use if-else instead of the select -case if you like, but this is where you need to apply the logic for billed amount.
At last, you'd notice that the Header for this col is blank. Just Right click the blank header and select Calculated Member > Edit Header formula and type in "Billed".
That's it! The grand totals for the row won't add the values from the calculated member.
Hope you get this working.
-Abhilash -
Problem with Cross Tab in Live Office Connectivity
Hi Experts,
I am using Live Office Connectivity to build a Xcelsius Dashboard.
The webi Report has data in 4 cross tabs which comes to Xcelsius as 4 LO Connections.
The size of the Xcelsius Doc is around 900K. I am getting "Xcelcius has stopped working " error when i preview the document.
Earlier i have built dashboards on Webi Report which used Verticle tables(more than 1 MB in size). I am able to preview them and generate SWF without any problem.
I am working on Xcelsius SP3 on Vista OS with 2 GB RAM.
Is using Cross Tab, responsible for the Application Crash or any other reason?
Please help me in solving the above problem at the earliest.
Please let me know if you need any further information on the same.
TIA,
Bhargava Bommidi.Bhargava,
Webi cross tabs via Live Office connection should work. Pls see this [post|Re: Does Xcelsius support Cross Tab report via Live Office?; for more detail.
Pls let me know what version of Xcelsius you are using because this error is known to popup when some of the dlls are not registered as well.
Cheers,
Ryan -
Hello,
I want to use a crosstab within Crystal Report Studio to display the revenues of several months of each customer in a single row. (in the underlying database the revenues of each month are stored in a seperate row). So far so good.
I have put the customer id to the row, the date_id to the column and the kpi revenue as group field.
But I want to use further describing db columns in front of the kpi, additionally to the customer id, for example the customer name, customer city and so on. But I don't know how I can do this. Is there any possibility?
I don't want to create a formular and concatenate the columns, because then I don't have the columns of the different customers amoung each other.
So is there another approach.
Many tahnsk,
StefenYou can add as many columns or rows as you want.
In your case, you can add Customer name, City etc as rows next to customer id. By default 'subtotals' for each of the row will be added.
Since you dont want any subtotals, right click on the cross tab, select crosstab expert, uncheck 'Suppress subtotal' checkbox under 'Customize Style' tab.
Hope this helps -
Hierarchy problems in cross tab
Hello,
we are using DS 1.3 and I have a query which want to use with several views.
I configured the initial view like the screen shot shows. The problem is, if I assign this data source to a cross tab, no data is available for this component. But the initial view shows some data. Is there something else I have to consider?
This behavior only appears if I use queries with hierarchies.
Thanks
RobertHello Robert - please see SAP Note http://service.sap.com/sap/support/notes/2001504 to see if it may apply; SP1 is planned in a few weeks
-
Page Footer on Cross Tab Reports
How do I get the page footer to show up on all the pages of the Cross-Tab. I have a report where the columns spill over to the second page, but nothing from the footer prints on the second page. It is only printing on the first page.
I also have a similar problem on cross-tab reports when the rows result in additional pages.
If I place the page numbers in the page footer, it only appears on the last page of the report. If I place the page numbers anywhere else on the report, it doesn't show up at all, on any pages. Where can I place it so it will print all the pages, regardless of the number of pages that result because of the growing columns or rows?
Thanks. -
hi all
i am new in this forum. i have facing problem in cross tab report. in my project i'm using cross tab crystal report. i have removed record navigation option.so entire record will be displayed in one page, in this crystal reportviewer will split the records with help of page break. if i got page break the heading will be display again and again for every page break. i want to display heading only one time for all pages using Cross Tab report. Anybody knows tell me the idea
Thanks & Regards
Aravinth KThe above highlighting works in regular crystal report but not in cross tab report.
I am wondering is there differnt procedure to work in cross tab? I noticed there's a highlighting expert function in corss tab menu... -
Cross Tab calculation in Individual column-Crystal Report
Hi experts
I am preparing a report in Crystal report 2008. Report template is Cross Tab.
Structure of report is
Cardname-Row, DocType-Columnd, DocTotal-Summarize field.
Result of this report is
IN(Invoice) RC(Incoming Payment) Total
XYZ 1000 -500 500
ABC 2000 -1000 1000
Total 3000 -1500 1500
I have inserted a column using calculated member. I want to Calculate in that column with BP opening balance
eg. OCRD.Balance-DocTotal when I do this it give first value to all column rows, i.e (consider XYZ opng Balance is 1500, I have calculate month opening balance which meance Current Opening Balance-Current month Order bookings=Month opening balance)
IN(Invoice) RC(Inc Pmt) Total Opng Balance
XYZ 1000 -500 500 500
ABC 2000 -1000 1000 500
Total 3000 -1500 1500 500
I want to calculate Opng Balance for each CardName but it gives first Customers opning balance to all customers.
Give me solution.
Thanks in AdvanceHi
I think you can do calculation based on the formula .On the cross tab ,there is :
X -selection - row
Y - selection -column
Z - summary
You can also use formula on cross tab to do that function and insert into summary section .
Hope this helps .
Bishal -
Hi There
I need to create 3 cross tabs in one crystal report with different condition, how i can do that?
for example, in one cross tab, i only want to show last year's information, in another one, i want to show this year's information
is there a way i can add some condition with the cross tab?
thanksI think what Ian means is....
Right now you have you cross tab set this way..
2008 2009
Location1
Location2
Location3
He wants you to switch rows to cloumns and make the Year your first Group.
Then you'll have
Location1 Location2 Location3
2008
2009
This way all your locations show up in your cross-tab.
Hope this makes sense....
Maybe you are looking for
-
How do I go back to an older version of iTunes using Time Machine?
This latest version of iTunes (v.12) is crashing, not to mention when I connect my iphone or ipod it's not only harder to use them but I can no longer see the break-down of what is on them, e.g. now it's just "12 GB full" rather than "9GB music, 1GB
-
Harddrive died, need to get my sync data from old firefox to new
So far all methods of getting data off the drive as failed, otherwise I'd just rip the app data out of it.... The real issue here is that I had about 30 tabs open, and a ton of important bookmarks I added recently that i didnt get a chance to backup
-
if i go to create pdf from scanner, configurations, it has NO OPTIONS for me to choose a prnter/scanner. I use the printer, but the scanner isn't showing up in the adobe please help
-
I have 2 Catalyst 3560 24-port switches (call them switch-a and switch-b). They are linked together with a patch cable and not stacked (the c3750 is stackable but not the c3560). Is it possible to have a port-channel group with 2 ports, where one po
-
Using PHP Data Services to create an object and accessing that objects data in an unbound way in AS
Hello, I've been able to use the php data services and bind the results of a function to a component. However I am having a hard time figuring out the syntax to use the data services to create an object out of the results, and then use that object as