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?
Similar Messages
-
Cross Tab report in details section
Hi All
I am new to Crystal Reports and have a few queries related to a cross tab report. I am trying to design a report as follows
Rows: Cost elements
Columns: 12 months,YTD and Total Year for Actuals & then 12 months,YTD and Total Year for Budgets
Gruop By: Cost Centre
For Example;
Actual Budgets
Apr May June July.....YTD FY2010 Apr May June July.....YTD FY2010
Manpower Cost
Rent
Total Cost
1. Since I need the above table for every individual cost centre, is it possible to group by Cost centre and then build a cross tab report in the details section?
2. If not, is there any other way by which I can create the above table without using cross tab?
3. For the YTD values, should it be calculated in the BW query (I am using BW queries as the datasource) or in Crystal Reports? and how?
Thank you very much. I would appreciate your early response.
PayalHi
Thanks for your inputs. Currently I have designed my report in the same way (group by cost centre & cross tab in group header section). However, I am still looking for a way to calculate YTD & Quarter values in Crystal using a formula. I am debating whether it should be calculated in BW or in Crystal.
Thanks
Payal -
How to make cross Tab report for SAP B1
Hello and Hi
i trying to make cross tab report for SAP B1 but test column not appera in
File >>New >>Cross Tab Report start cross tab report creation wizard select database name and table
but only numeric columns appear in available column fields , how will appearall fields including test fields..i got solution
thanks google
memo type field will not apper in list .use bellow statment to convert in interger or char type
convert(int,U_Dist_Sr_No) AS Dist_Sr, CAST(U_Dist_Name AS varchar(250)) AS Dist_Name, -
Cross tab report-dyanamic columns for months and quarterly sum
Hi all,
I work on report creation in BI Publisher.I need to display values in a cross tab report in a way that it shows data for 3 months and then a column for its quarterly sum.
For ex:-
Market --Jan Feb Mar Q1_sum Apr May Jun Q2_sum ---------------like wise for n months
Market1 100 --80 --30 -- 210 --10 -- 80 --90 --210
Market2 120 --90 --40 --250 --100 --70 --30 --200
Market3 130 --70 --60 --260 --140 -- 0 --40 --180 ('--' just to maintain indentation)
The values of number of months( date range) and the names of market are derived dyanamically .
The code from my sql query presently shows months-range (Jan ,feb,mar..), Quarterly sum to be displayed, Market names etc as child elements in multiple occurences main Query set.
<Main Query>
<Market>abc</Market>
<Region>abc</Region>
<Months-Range>abc</Months-Range>
<Quarterly_sum>abc</Quarterly_sum>
<Main Query>
<Main Query>
</Main Query>
Please guide me on code in rtf template for the same.
Thanks
Edited by: user9061488 on Jul 13, 2010 1:32 AM
Edited by: user9061488 on Jul 13, 2010 3:48 AMHi,
Do u have time dim in your metadata??
If not,
Create a time dimension year,quater,month,day
http://lh4.ggpht.com/_rhCtHYLiamQ/S7PQvxYBbzI/AAAAAAABZXI/ef_Ur9AmyUo/s800/04_year_quarter_bmm.jpg
After that in fact table by using the (ago/todate) function ....pull the respective columns to pivot table columns section(date column) and measures col in measures section and enable the grand total in columns section so that it will show grand total for every quarter
thanks,
saichand.v -
Crystal Report Cross Tab Report
In crystal report 2008, i created a cross tab report. Column shows sales order number and rows show item number.
For columns that shows sales order #, I also wanted to show sales person name field right beside it. In cross tab expert, I added the field salesperson name.
However, crystal cross tab shows the sales person at a separate column with duplicate information. I only want to show sales order no. with sales person name under one column. Is there a way to achieve this? Thanks.This would be a hard job.
Have you tried Pivot Table function in Excel? You can play with it and get some ideas.
Thanks,
Gordon -
Cross-Tab Report export to Excel
I have a cross-tab report that I need to export to excel and keep the same formatting. When I export the report the first column is Part # the next is operation #. The report is grouped on Part number, but each part may have multi operation. When I look at the report in Crystal or as a PDF the part # is at the top then each operation is a seperate row that follows. When I export it to excel it works fine but instead of the part # appearing at the top then follow by each operation the part number ends up on the last operation in the list. How can I export this and keep the format the same? by the way I have tried both xls data only and xls 2007 options
Hello Experts,
I also tried to export the CR cross tab report in Excel Data only format.
Also I want to display Row label i.e. my Rows are different dates so I created a text field and named as Date & Time but when export it to Excel Data Only, the date time label appears 1 row above then rest of the columns. It works good while looking on InfoView but export messed it up.
Can you please suggest. -
I have a cross-tab report that lists dates as headers and employees as rows. The data at every cell shows the qty (it is like timesheet report). The totals are shown for every row and column. The report layout looks something like this:
----------- <date> <date> <date> .... <Total>
<name> <qty> <qty> <qty> <qty>
<name> <qty> <qty> <qty> <qty>
<name> <qty> <qty> <qty> <qty>
<Total> <qty> <qty> <qty> <qty>
The report definition looks like this (I numbered the columns to make it easier to write about them):
01: <?horizontal-break-table:1?>
02: <?for-each-group@column:EMPLOYEE_TIME;./TRANSACTION_DATE?><?sort:TRANSACTION_DATE;'ascending';data-type='date'?>
03: <?TRANSACTION_DATE?>
04: <?end for-each-group?>
05: <?for-each-group:EMPLOYEE_TIME;./EMPLOYEE_NAME?><?sort:EMPLOYEE_NAME?><?variable@incontext:G1;current-group()?>
06: <?EMPLOYEE_NAME?>
07: <?for-each-group@cell://EMPLOYEE_TIME;./TRANSACTION_DATE?>
08: <?sum ($G1[(./TRANSACTION_DATE=current()/TRANSACTION_DATE)]/TRANSACTION_QTY)?>
09: <?end for-each-group?>
10: <?sum ($G1/TRANSACTION_QTY)?>
11: <?end for-each-group?>
12: <?variable@incontext:T;.//EMPLOYEE_TIME?>
13: <?for-each-group@cell://EMPLOYEE_TIME;./TRANSACTION_DATE?>
14: <?sum (current-group()/TRANSACTION_QTY)?>
15: <?end for-each-group?>
16: <?sum ($T/TRANSACTION_QTY)?>
The XML data is not sorted in any way and the report sorts it by employee and date. As you see at the line 02 I applied the sort by the transaction date. The sort works as expected, however the actual QTY are not showing at correct cells. If I remove sort it works fine but the dates are in random order. I suspect it is because I sort transaction date at header level and the QTY is not aware about it. I tried to apply the sort at line 07 but it does not help.
Does anyone has any idea how to get this report to display data correctly?I have a SR which has associated bug 6131270.
Here is the latest from my SR:
UPDATE
=======
Hi Tomas,
The bug has been updated. Development has recommended
"You also need the patch from bug 4332399 to solve the java.util.EmptyStackException. "
Please review above bug if you have access.
Please consider applying Patch 4332399 - XSL:SORT FAILED IN A 2 LEVEL XSL:FOR-EACH-GROUP CASE
Backport is included in patch 5840358 for EBS customers. -
How to count number of columns in cross-tab report
I have created a cross-tab report and have managed to get the data out as below:
Jan Feb Mar....(display of months will auto expand) Avg/Mo Total
UserA 4 3 4 11
UserB 6 1 1 8
UserC 5 5 5 15
Total 15 9 10 33
I want to insert a calculated column (Avg/Mo) into the cross-tab report based on the formula: Total/Number of Months. I used this calculation formula for Avg.Mo column:
(GridValueAt(CurrentRowIndex, CurrentColumnIndex+1, CurrentSummaryIndex)/GetNumColumns)
However, I get the wrong average since GetNumColumns count the total number of columns including the column of Avg/Mo and Total.
How do i get the number of columns, excluding the Avg/Mo calculated column and Total column?
PS: I can't use hardcode since the number of months/columns will auto expand the months progress...
Edited by: jutamind on May 26, 2010 9:27 AMok managed to solve this by slightly changing the formula:
GridValueAt(CurrentRowIndex, CurrentColumnIndex+1, CurrentSummaryIndex)/(GetNumColumns-2) -
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 -
Dynamically color to each column in Cross-tab report
Hello All,
I am a newbie in Crystal report,from last few weeks, i am working on cross tab crystal report.i have a requirement to show color dynamically for each column.i am adding an attachment how i want it. i tried dynamic coloring using object field formula but it is showing red color to all data.i want red color data when in 2nd cross tab report data is beyond upper or lower limit in first cross tab table. it will be very helpful if somebody will give me any clue on this.... i read so many articles now it seem like impossible for me..:(
i am using visual studio 2010 and sap crystal report version 13.0.0.99 for visual studio 2010.Hello Manish,
I have attached a sample report that does this. You will need to remove the .txt extension from the attached file to open it as an .rpt file.
Please right click on one of the value fields of the first cross tab in the report > Format Field > Common > Suppress if Duplicated conditional formula.
The nested formula is as follows;
numbervar array l;
numbervar array u;
numbervar x:=CurrentColumnIndex;
if GridRowColumnValue ('@limit') = 'lower limit' then
(redim preserve l[x];
l[x]:= tonumber(CurrentFieldValue))
else if GridRowColumnValue ('@limit') = 'upper limit' then
(redim preserve u[x];
u[x]:= tonumber(CurrentFieldValue));
false
So it assigns each lower and upper limit value for each client (in the sample it is country) to an array using the cross tabs column index to index the array and it ends in False as we don't actually want it to suppress if duplicated. This nested formula is just used to generate the arrays of upper and lower values.
In the second cross tab if you again right click on one of the value fields > Format Field > Font > Color you will see the following conditional formula;
numbervar array l;
numbervar array u;
numbervar x;
if not(tonumber(CurrentFieldValue) in l[CurrentColumnIndex] to u[CurrentColumnIndex]) then
crred
else
crblack
So this compaes the current field value to range generated by the 2 arrays and assigns a color based on whether or not it is in the range.
Regards,
Graham -
Issue in developing cross tab report with wizard in 10.1.3.2.1
Hi Gurus,
We are trying to develope group above cross tab report with wizard in BI Publisher 10.1.3.2.1 .
i am unable to achieve multiple level columns dynamically.Using cross tab wizard i can achieve single level measure column ,but not the second level column.
Output should look like this:
Country1
Region1 Region2 Region3 --(level1 column)
d1 d2 d3 d1 d2 d3 d1 d2 d3 -- (level2 column)
Row1 10 20 30 70 80 90 40 70 90 --data
Row2 21 24 54 65 23 64 64 76 87 --data
Here Regions and d1 d2 d3 may vary based on xml data.Also we have page break on country.
Haven't get any solution till now.
Also unable to achieve under line and overline on data for total row.
Need help urgently in this issue.
Thanks,
Mahesh
Edited by: user13450806 on Jan 7, 2011 12:43 AMHi Gurus,
I am still waiting for some one to help me in this issue.
It is very urgent for me to solve this. Did not get any help yet.
--Mahesh -
How to Add new column in cross tab reports
I am using crystal reports 10
I created cross tab report for monthly sales. I need to add one more column in that report
ex:
Month Customer Part1 Part2 Part3
Jan A 10 12 15
Jan B 20 0 10
Jan C 0 3 5
Feb A 5 10 8
Feb D 55 23 33
In above data Parts are no limit, thatswhy i am taking cross tab report.
I am taking Month and Customer name as Rows,
Part Codes as Colums,
Quantiry as Total fields in cross tab Report.
Here month field is storing as Transaction date in database, I am calculating by month
I am getting upto this.
User needs add one more field is Invoice no
Month Customer Part1 Part2 Part3 Invoice no
Jan A 10 12 15 B1,B2,B3,B4
Jan B 20 0 10 B12,B30
Jan C 0 3 5 B6
Feb A 5 10 8 B35,B40
Feb D 55 23 33 B25,B56
How to add invoice nos by group wise(By customer and By month)
Thank you.
Raja shekar Reddy K.
Edited by: Raja shekhar Reddy on Apr 16, 2009 5:10 PMDear Amogh,
Thanks for u'r Replay.
If i use new crosstab for Invoice no each invoice number can display like seperate columns.
But I need Invoice no in single column with seperate with "," or "/".
Thanks & regards,
Raja Shekar Reddy K. -
Variance formual in Cross tab report
Hi,
I am new to crystal and don't have formal training. I am trying to create a report that shows Actuals and Budget and I want to the variance. Format is 1 row is for actuals, 1 row is for budget and the other is for forecast.
I would like to have a variance that is actual - budget and another actual - forecast for each measure.
I am using cross-tab report for formatting, any assitance for how to over write totals coloumn with Variance calculation, assistance for creating variance formula in formula workshop is required. I happend to see the logic in other forums but not in cross-tab scenario.
Thanks in advance.
BhanuUse a manual Crosstab report so you have full control
-
CanGrow Property in Cross-Tab Report
Dear Friends,
I am using Cross-Tab report. I would like to set the cangrow property for a particular field. But i couldn't do that. Because cangrow property is disabled for all the fields in cross-tab. How should i enable this property.
Is there any other alternative way.
Thanks in Advance,
Stalin. AWhat tool are you using? Crystal Reports, Web Intelligence, Desktop Intelligence?
Maybe you are looking for
-
Finding the path to Oracle home
Hi I am trying to get the value of "oracle home" (e.g OraDb11g_home1) and display it within my java program, not sure how to do this. One possible way it to parse the ContentsXML/inventory.xml file. The only drawback I can think of is that a user may
-
Masking a Quicktime movie in Keynote 3.02
I have a Quicktime movie I want to show in a presentation. I would like to mask it to hide some of the peripheral areas of the movie. I have had no problem using the Mask command to do so with pictures, but that command is grayed out when I add the Q
-
Can I make a still pic from a movie in iPhoto?
Hi Guys, I've got a movie of my daughter blowing out her fifth birthday cake candles. Can I extract a still from this to put on her thank you cards?
-
How can I play f4f file on my ipad?
I was wondering if there exists any solution for playing f4f files on ipad? Can't I make a player using java coz iOS doesn't support flash.
-
Can anyone give me a list of reasons why my ipod touch and my new ipad are recognised as cameras in itunes on my xp computer? It always used to work so do not know what has changed. Things are okay on my laptop.