Calculated column shows all zeros in cross tab discoverer report
Hi
I have a calculated column in a cross tab report which shows all zeros, but when i duplicate the report as 'table' the calculated colun is getting populated.
i did not understand why it is doing like that, are there any special privileges or any special settings required for creating a cross tab report.
Hi,
No there is no special privs for cross tab but there is an aggregation issue.
There are some methods of aggregations used in the discoverer.
First thing you can so is to make sure that in the cross tab sheet you use the detailed data points and that you are not combining different levels of aggregations (for example one amount in details and another one summed).
Second thing you can try is to change the aggregation for this worksheet, you can do that by going to the worksheet properties to the aggregation tab and try to change the settings.
Third thing is to check the pref.txt file in the application server and set "AllowAggregationOverRepeatedValues" to 1
BTW also search your data and find whether you got NULL values in the aggregated items, if so then wrap the data points with NVL function.
Similar Messages
-
Achieving SubTotals in CROSS Tab XML Report
Hi,
I have a requirement to obtain subtotals in cross Tab XML report.
X-axis and Y-axis columns and values are generated dynamically from Query.
The Y-axis contains heirarchy. In between these heirachies, i need to have subtotals.
If required, i can send rtf and xml source via email.
Please let me know if anyone has implemented before?
Thanks.
Edited by: 808712 on Nov 9, 2010 5:12 AMHi,
I am building cross tab manually. I am not getting any idea how to achieve a subtotals in between, mailed you rtf and xml source along with mock excel for reference,
This is what i require:
Person Type
Organization Employee Co-Op Intern Contractor Total
*910 AD* 2 0 0 0 2
920 AC 32 0 0 7 39
110 PU 12 0 0 3 15
930 HR 19 1 0 4 24
950 LEl 9 0 0 1 1 0
951 SA 0 0 0 0 0
970 FA 0 0 0 0 0
980 IS 31 1 0 3 35
981 ERP 0 0 0 0 0
982 CI 0 0 0 0 0
983 IT 0 0 0 0 0
986 IT 0 0 0 0 0
Total 910 Ad 105 2 0 18 125 --> I need to achived this subtotal?
etc…
Headcount Total: 105 2 0 18 125 --> I got this total
I have build the rtf with the help of BI Publisher user guide - Cross-Tab Support(pageno:5-94), the only pending was this subtotals.
Thanks -
SSRS Header Image extension for Cross Tab type Reports to full page width
Hi All,
I'm trying to adjust a Image on Header ,the problem I'm facing is the image doesnt extend with the page full width when there is cross tab type reports.
Many thanksSolved
There is a property for background repeat setting when set to Repaet X has worked for me -
Calculations based on Summarized data in Cross Tab
First off, I'm pretty experienced with Crystal.
I've run accross something that seems like it should be realy easy to do, and the sort of thing you would expect to do in a cross tab... so maybe I'm missing something totally obvious.
I'm doing a year over year comparison of some financial data broken down by month and by quarter.
So, my Rows are Quarter, and a field called 'YEARMONTH' (calculated field, YYYYMM, for ease of sorting)
My column is Year, and for summarized fields, I have the data field I'm interested in which is a float. Let's call it 'Dollars' for sake of argument.
What I want to do is create a summary field (next to the total field) called 'Difference' or 'Delta' that calculates for reach row the difference between my two years (2008, and 2009)
The only solution I can come up with is to dummy in a record from the datasource with a year value of 'Difference' and some other dummy values so that it will show up as a column on the cross tab, and then somehow use the currentrowcolum function or some such creature to mask the output in the column. but now that I type it out here, I'm not sure it's going to work. I also don't think it's going to export the way I want it to either.
I'd really prefer it to be in a cross tab, and not in some manually created cross-tab emulation using manual running totals, but I'll go there if I have to.
Thanks a ton!This is what I did in my report to get the difference
my crosstab looks like this
2004 2005 Total
Total T1 T2 T
USA A B C
INDIA X Y Z
right click on T1 and go to format field and write the suppress condition like this
numberVar d:=0;
currencyVar array arr1;
currencyVar array arr2;
numberVar e;
if GridRowColumnValue('year')=2004 then
(e:=e+1;
redim preserve arr1[e];
arr1[e]:=CurrentFieldValue)
else
(e:=e+1;
redim preserve arr2[e];
arr2[e]:=CurrentFieldValue);
false
right click on T and go to format field and write the Display string condition like this
currencyVar array arr1;
currencyVar array arr2;
totext(arr1[1]-arr2[1])
right click on A and go to format field and write the suppress condition like this
currencyVar array four;
currencyVar array five;
numberVar d;
if GridRowColumnValue('year')=2004 then
(d:=d+1;
redim preserve four[d];
four[d]:=CurrentFieldValue)
else
(d:=d+1;
redim preserve five[d];
five[d]:=CurrentFieldValue);
false
right click on C and go to format field and write the Display string condition like this
currencyVar array four;
currencyVar array five;
numberVar g;
g:=g+1;
ToText(four[g]-five[g])
Note: Please select the option "column totals on top" for crosstab in customize style
Hope this helps!
Raghavendra -
Suppress Columns shift Cells Lefts in Cross Tabs
Hello All
I need some help getting a cross tab report to suppress data correctly.
I have the following reporting requirement
Based upon Fiscal Year Period Selection report should start from the input period back 24 months.
Example
For the following example I use selection criteria of FY 2008 and period 11
Report should look as follows
2008
11 10 9 8 7 ....
Account Receivable 100 200 300 4000 5000 ....
Where the starting column is the input period 11
The table structure is
Account Number, FY, Key Figure Period 1, Key Figure Period 2, Key Figure Period 3 .... Key Figure Period 12
Parameters
Fiscal Year
Period
Cross Tab Format is
FY
Account Number Key Figure Period 12, Key Figure Period 11, Key Figure Period 10, ... Key Figure Period 1
When conditionally suppressing the field I am using a suppression formual
Key Figure Period 12 = {?FY}="2009" and {?Period}<"12"
Key Figure Period 11 = {?FY}="2009" and {?Period}<"11"
Key Figure Period 10 = {?FY}="2009" and {?Period}<"10"
etc.
The problems is that when I suppress I just get a blank field
2008
12 11 10 9 8 7 ....
Account Receivable 100 200 300 4000 5000 ....
What I want is a complete suppression of the column and commence the report from Period 11 as follows.
2008
11 10 9 8 7 ....
Account Receivable 100 200 300 4000 5000 ....
Can anyone provide tips on how to achieve this?
Thanks
PhillipThanks for your help. Sorry for my wording causing confusion I am new at Crystal Reports. I think I may have caused some confusion for I am actually wanting to stop the summarized data from showing, and shifting the summarized data to the left based upon a selection criteria.
Some more details
The Cross Tab has a Column heading of Fiscal Year.
The summarized values report the contents of fileds GLTO_HSL12 etc and are shown horizontaly with the label showing.
I can suppress the summarized fields so that they wont show. What I am trying to do is get the summarized fields to move to the left if based upon a selection criteria the logic I am applying is as follows
If Fiscal Year is 2009 and period is 10 then show summarized data from field GLT0_HSL10 to GLT0_HSL1 with GLT0_HSL10 being the first summarized field reported.
Currently based upon the Fiscal Year is 2009 and period is 10 example I can only blank out the summarized data for GLT0_HSL12 GLT0_HSL11 the actual format of the cross tab remains static.
Cross Tab Layout
______________________________FY2009
Summarized Data Heading_______| Period 12_____| Period 11 _____| Period 10 | ....Period 1
Row 1_______________________| GLT0_HSL12__|GLT0_HSL11__|GLT0_HSL10__|...
using suprresion formula in summarized fields I can achieve the following
______________________________FY2009
Summarized Data Heading_______| Period 12_____| Period 11 _____| Period 10 | ....Period 1
Row 1_______________________| ____________|________________|GLT0_HSL10__|...
What I want though is
______________________________FY2009
Summarized Data Heading_______| Period 10_____ | Period 9
Row 1_______________________|GLT0_HSL10__|GLT0_HSL09__|...
I hope this explains my problem alittle better.
Phillip -
Displaying other columns/tables apart from a cross tab
Hi,
I designed an RTF template. This contains 3 tables. First table contains the invoice information. 2nd table is the cross tab and 3rd table contains the aging details. My requirement is to print the other tables in all pages if the cross tab goes to multiple pages. Presently all the tables are displayed in the 1st page only. If the cross tab output goes to next page then the 1st and 2nd tables are not being displayed in other pages.
Can anyone suggest me how to display the other columns/tables apart from cross tab columns if the cross tab output goes to multiple pages.Can u plz send me the sample xml and the template so tat i can help u frm my side...
-
Showing Null values in Cross-tabs
Post Author: merv
CA Forum: Charts and Graphs
I've created a cross-tab report but I will like for the report to list the rows will null values as well as the rows with values. I need to do this because I cannot create one cross-tab with all of the necessary fields, so Iu2019ve created 3 cross-tabs and placed them side by side. Or is it possible to link the cross-tabs. Thanks
I would like to see the following
Total
A
A-
A+
B
B-
B+
C
C-
C+
D
Total-1
Total-2
Canada
MATH30800
24
12
0
0
4
0
4
0
0
0
0
Canada
MATH30800
24
Canada
MATH30800
0
Nigeria
MATH201
12
8
2
2
0
0
0
0
0
0
0
Nigeria
MATH201
0
Nigeria
MATH201
12
Poland
CHEM31800
8
0
1
0
0
0
3
1
0
0
0
Poland
CHEM31800
8
Poland
CHEM31800
8
Puerto Rico
MATH190
0
0
0
0
0
0
0
0
0
0
0
Puerto Rico
MATH190
1
Puerto Rico
MATH190
0
Panama
ENGR10300
39
3
4
1
2
4
6
3
3
0
1
Panama
ENGR10300
0
Panama
ENGR10300
39
Romania
MATH31601
4
2
1
0
0
0
0
0
0
0
0
Romania
MATH31601
4
Romania
MATH31601
0
Afghanistan
EAS10600
11
0
4
0
0
1
1
1
0
0
0
Afghanistan
EAS10600
0
Afghanistan
EAS10600
11
Bahamas
HS-COURSE
0
0
0
0
0
0
0
0
0
0
0
Bahamas
HS-COURSE
27
Bahamas
HS-COURSE
0
Brazil
HS-COURSE_2
1
0
0
0
0
0
1
0
0
0
0
Brazil
HS-COURSE_2
0
Brazil
HS-COURSE_2
1
instead of what's bellow
Total
A
A-
A+
B
B-
B+
C
C-
C+
D
Total-1
Total-2
Canada
MATH30800
24
12
0
0
4
0
4
0
0
0
0
Canada
MATH30800
24
Nigeria
MATH201
12
Nigeria
MATH201
12
8
2
2
0
0
0
0
0
0
0
Poland
CHEM31800
8
Poland
CHEM31800
8
Poland
CHEM31800
8
0
1
0
0
0
3
1
0
0
0
Puerto Rico
MATH190
1
Panama
ENGR10300
39
Panama
ENGR10300
39
3
4
1
2
4
6
3
3
0
1
Panama
ENGR10300
0
Afghanistan
EAS10600
11
Romania
MATH31601
4
2
1
0
0
0
0
0
0
0
0
Romania
MATH31601
4
Brazil
HS-COURSE_2
1
Afghanistan
EAS10600
11
0
4
0
0
1
1
1
0
0
0
Bahamas
HS-COURSE
27
Brazil
HS-COURSE_2
1
0
0
0
0
0
1
0
0
0
0Post Author: azanobrown
CA Forum: Charts and Graphs
What I've done in the past is create a new formula for your "value" field similar to this and put it in your cross-tab:if {original value field} is "" then [0] else {original value field}the purpose is to create a record value (e.g. 0) where there is no record. I hope that this helps. -
The fax confirmation report shows all zeros for officejet 6600 printer
the fax confirmation page shows all zeors for date and time. How do I set the printer so it prints the correct date and time?
Hi CJChristian,
Welcome to the HP Forums!
I understand that your confirmation date and time fields are all zeroes with your HP Officejet 6600, and I am happy to help you!
Please take a look through this guide. Setting Up the Printer Hardware for HP Officejet 6600 and 6700 Premium H711n e-All-in-One Printers. Select the Officejet 6600, and look for Step Seven Set the Date and time.
Also this guide may help too. Setting up the HP All-in-One to Send and Receive Faxes.
Hope these guides are useful for you, and have a nice day!
RnRMusicMan
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to say “Thanks” for helping! -
Hierachichal display is not coming for field in cross tab crystal report
Hi,
I have a dimension "Cost center" in DSO on which Hierarchy is defined in SAP BI.
When I developed one cross tab report on this DSO, values for Cost Center fields are displayed in flat mode and not in Hierarchical mode.
I also set group option on this "Cost center" field in report And in Report menu "Hierarchical Grouping option" also check box ticked for "Sort data hierarchically" and also selected Instance id field.
how to get this?
**Note: same problem when report is developed on Infocube.*+
Please help me.
Thanks,
Dhana.Hi Dhana,
I've created a similar report to show matrix WBS x RBS, and WBS are grouped hierarchically.
My report developed in this way:
- I've created Hierarchical group located in detail section of report. In detail section I've put the row field of cross table.
- I've suppress all this section: group header, group footer and detail
- I've created the cross table in Report Footer
The report show correctly
Regards
Sandro -
How to generate blank cells in cross-tab (Matrix) report
Hi All,
I am facing issue in populating blank columns in a cross-tab report.Please help me out as it is urgent.......
Thanks in advance.
regards,
sreekanthIf you haven't found the answer yet, check out the following article. It was an immense help to me!
http://apps2fusion.com/at/64-kr/345-matrix-cross-tab-report-bi-publisher
HTH -
How to show all the search result in a report page
I have a report page which the user can enter first or last name to find the matched employees. The current report only show maximum of 15 matched results. How to show all of them in one page if more than 15.
Also, the employee name on the report is a link, how to make the link to be conditional. ( I mean it can be a link or not based on another column)
Thanks.
JenHi, you can change the number of rows on the report definition page (15 is the default value)- that's also where you can change pagination and max. number of rows etc.
About the second question - you will have to use Case or Decode in your report query and have the value as link or not based on the condition column, something like:
Select Decode(condition_column, 'link_value', '<a href="f?p=YOUR_APP:PAGE_TO_LINK_TO:' || :SESSION || ':::::">display_column</a>' , display_column) From .....
Hope this helps. -
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 -
Cross tab sub report with vertical page breaks
Hi have a report which contains 3 sub reports - different views of similar data. The sub report is wide enough to cover two landscape pages across and they run down over two pages
The first subreport on page one does expand across into the secon landscape page, but does not repeat the row labels, although the settings in both main & subreport cross tab are to repeat
The secon & third sub reports which print on the escon vertical page do not expand across to display any data, so I get no page four.
They all have exactly the same settings.
Is there any easy way to resolve this?hi Julie,
this is i believe the nature of cross-tabs inside of subreports...horizontal expansion within the subreports is not a supported feature.
you mentioned that the data is similar but just different views...is the query that each subreport runs off of bringing in the same record set? if so, is it possible to move the cross-tabs into the main report?
are you using crystal reports 2008? if so, does changing the page setup for the entire report to a huge size and then the pagination for each section to landscape help?
jamie -
How to create Cross Tab type report?
Hey all,
I am in the process of converting an application. The current application uses Crystal Reports to generate a Cross Tab report. I want to use Oracle to generate this type of report. Can anyone tell me how this is accomplished?A cross tab report in Oracle is a matrix report. You can use the report wizard to build this type of report.
-
Cross tab(matrix) report in XML publisher
hi,
i am making a cross tab report (industry,year,amount) with row subtotal='true' (by default). i.e.
(Industry) 2008 2009 2010 total
abc ltd. 50 100 160 310
xyz ltd. 100 200 300 600
pqr ltd. 10 20 30 60
after creating cross tab, when i am going to properties of industry this is showing <?./H?> and properties of year this is showing <?./M?> and properties of amount this is showing <?./L?> and properties of total this is showing <?./T?> which i think automatically created.
then i have to put a condition that, if industry like pqr ltd. then total should be null otherwise this should show the total as it is.
i.e
(Industry) 2008 2009 2010 total
abc ltd. 50 100 160 310
xyz ltd. 100 200 300 600
pqr ltd. 10 20 30
how should i have to write condition for this in total property tag.Hi
the crosstab praser now creates an in memory object to process. To get the total to hide you could use
<?if:./H != 'pqr ltd'?><?./T1?><?end if?>
Regards
Tim
Maybe you are looking for
-
Apple TV does not find AirportExpress wireless network
Hi all, this problem is driving me nuts, maybe someone here can help. At the moment I have an Apple TV in our living room. There is an AirportExpress device in the same room, which is creating a wireless network (WAP/WAP2 Personal, name "BNK") and is
-
Hi friends, If anybody knows how to refresh an abap and java systems (not abap+java addin) can you please send the docs? Thanks.
-
Remotely adding a Kerberos Authenticated printer
Hi there, I am deploying a printer Via MCX which works fine. however the machines are using an LDAP kerberos authentication setup. If i manually set kerberos on the machine using the following steps it works fine. 1. Open the URL "http://localhost:63
-
Account Detail error when processing: Invalid line in logic section: 7
Hi experts, I am getting the following error while processing account detail dimension: Invalid line in logic section:7. At the end, the process ends with the following error message: "Skip step of validating formulas because of the problem if expand
-
Manage photos on iphone without computer
How do I manage photos on my iphone without a computer?