How to Suppres a Row in Cross Tab?
Hello All
I have a cross tab where I wish only to show the result of the calculation.
The cross tab is like this
Header............Period
Sales..............X
Costs..............Y
Cost/Sales.......Y/X
What I want to show is the result only Cost/Sales
Header............Period
Cost/Sales.......Y/X
Hiding the Cells Sales and Costs but still using their results in the calculation.
Is there anyway to do this? As at present I can only supress Sales and Costs and minimize their size but this looks silly as you get a result like
Header............Period
Cost/Sales.......Y/X
With Space in between.
Any help would be appreciated.
Thanks
Phillip
cross tab functionality is different than a regular report, you cant always do what you want surpression wise...
if you just want to show a summary i would create a standard report
and surpress what you dont want and just show your summaries.
Similar Messages
-
How to display a row in Cross Tab when the count summary is zero
My customer wants a row for all possible data, even when the count is zero. How can I get a row to display when there is no data? Using an example: Display status for incidents - possible five statuses, but selection only results in four statuses because no incident were cancelled. Customer wants all five statuses to display in cross tab with cancelled showing '0' (zero))
Open
WIP
Cancelled
Pending
ClosedThis worked for the last guy who had a similar issue.
Take a look at what it's doing. You should be able to use the same principal to meet your needs...
I'm assuming that you'll only need to show 4 weeks at a time on your report.
The easiest way to do it is by creating 8 separate formula fields:
W1A
W1RT
W2A
W2RT
... and so on
I don't know how your data is coming across but the formula should go something loke this:
W1A... IF datepart(ww,currentdate) - datepart(ww,) =0 THEN
W1RT... IF datepart(ww,currentdate) - datepart(ww,) =0 THEN
W2A... IF datepart(ww,currentdate) - datepart(ww,) =1 THEN
W2RT... IF datepart(ww,currentdate) - datepart(ww,) =1 THEN
... and so on
If I got you weekly criteria wrong, sorry. It's just a best guess.
Anyway you should be able get the idea. It gives you the effect of a crosstab without the headaches of a crosstab.
Hope this works for you,
Jason
Edited by: Jason Long on Jun 28, 2008 3:19 AM -
Hide duplicate rows in Cross Tab report
where can i find the option to hide duplicate rows in cross tab report..?
Is it a limitation with crosstab report..?
Ok, here's the issue i have a crosstab report and its based on a VIEW.
the data duplicates based on created_by and last_updated_by columns as I'm not using these columns in the report.
any ideas or workarounds to avoid duplicates....?
Thanks! -
How to display recordnumber for each row in cross tab?
<p>Hi.. </p><p>I am using Crystal Report XI,with the database Microsoft SQL Server. I have 2 questions regarding Cross Tab.</p><p>1. How to limiting record per row and per column in Cross Tab? For example,at one page the report printing 20 records per row and 7 records per columns.</p><p>2. I would like to display recordnumber for each row that printing in Cross tab. How crystal reports can handle this?</p><p>Can anyone can help me out on this? </p><p>Please kindly advise.</p><p>AN </p><p> </p><p> </p>
<p>Dear Kathryn,</p><p> </p><p>I did used DisplayString as suggested by you. The result work fine until I add more data to this cross tab. I used this formula : </p><p> global numbervar pager;</p><p>recordnumber();</p><p>pager := pager + 1; </p><p> if pager > 0 then totext(pager - 1,0) </p><p> </p><p>The result come out in decending order for each row. </p><p>SN Name </p><p>5 abc<br /></p><p> 4 def</p><p>3 fig<br /></p><p>2 klm<br /></p><p>1 opq</p><p> Is that anything wrong with my formula?<br /> </p><p>Please kindly advise.</p><p>-AN- </p><p> </p><p> </p>
-
How to show underline and overline for subtotal and total row in Cross tab
Hi,
I am developing cross tab report where i need to show undeline and overline in data for subtotal row and total row so as to distuingish normal rows from subtotal and total row.
Thanks,
MaheshHi BIPuser,
i looked at the updated template, we need undeline on the data corresponding to subtotal row for ex. row 2.
We have xml tag in xml data UNDERLINE_AFTER='Y' and UNDERLINE_BEFORE='Y' then we need to show underline and overline on data i.e on 121,122,123,221,222,223 ,not on ROW2.
value1 value2
row1 200 300
row2 400 700
we need underline and oveline on data 400 and 700 since it is subtotal data based on condition UNDERLINE_AFTER='Y' and UNDERLINE_BEFORE='Y'.
Hope you understand.
Please help!!!!!!
Thanks,
Mahesh
Edited by: user13450806 on Feb 2, 2011 12:14 AM -
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. -
HI experts,
I have a cross tab.
The rows are automatic from a field, for example month:
1
2
3
4
5
6 ....
I new to hide , for example the row of AUGUST.
How can I hide the row in the cross table. I want to hide, I dont want to supress the result.
Thank you very much
Edited by: Markus C. on Jul 23, 2010 10:18 AMHi,
Create a formula that would represent what you want displayed in the rows and base the Row on the formula instead of a specific field.
Heather -
How to perform sorting in a Cross-Tab report?
Hi,
Please advice, how sorting can be done in Crosstab report.Hi Sriram
Using the group option you can get the ascending or descending sort order however if your requirement is other than that, you can use a specified order as below:
To create a specified order for the column or row headings in the crosstab complete the following steps:
1. Right click the cross tab to select it and from the fly out menu select 'Format Cross-tab'.
2. In the 'Format Cross-tab' dialog box, select the field that you would like to change the order of. In this example, it is{Customer.Country}.
3. Click the 'Group Options' button from the right side of the 'Format Cross-tab' dialog box.
4. Select 'Specified Order' from the drop down list box on the 'Common' tab. This takes you to the 'Specified Order' tab.
5. From the drop down list box on this tab, select the field values in the order you would like them to appear on the cross-tab.
You can specify the conditions as per your requirement there.
Hope this helps!!
Regards
Sourashree -
I have a cross-tab in my report. I am relatively new and hope this isn't a "dumb" question". There are columns which are averages of data aggregated by week. The last column is average over 4 weeks.
I only want the report to show those rows where the total column is above 70. How do I filter the rows to show only those columns above a pre-defined threshhold.
Thanks in advance,
KenIf you have the same grouping within the report as in the crosstab then you can create a formula that outputs the row field when the summary is greater than 70, i.e;
if sum({cust.sales}, {cust.region}) > 70 then {cust.region}
Use this formula as the crosstab row as opposed to the database field -
Hi Guys,
I wonder if I can create to different rows 1 for product type and another one for product, now I have them both in the same column, looks nice but I want them in 2 different rows but I can't find the setting to do it.
ThanksI have CRXI. SP 6
Right click the crosstab, go to crosstab expert, click on customize Style
You can try changing the summarize fields to horizontal.
If that is not what you want, try this.
Right click the crosstab, look for the pivot cross tab option, and try that.
If neither of these fix the issue, please provide an example of what you have, and what you want.
I may be misunderstanding the issue. -
Hi,
Can we apply a break at row level. Supposing the country is column, months are row wise in cross tab and revenue is the intersection and the requirement is to put break after 3 months.Hi Sai
You can put break on crossrab column and/or row.
Just select object and apply break.
-Anuj -
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 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
-
How to use selected row on another tab ?
Hi,
I created a table with a number of rows, containing a objectid and other stuff.
When I select 1 or more rows and click a button,
my application is doing his thing,
and finally I got a message that all went fine.
When I select another tab in that same page,
I want to display the previously selected object id's.
I created a getter and setter in my backingbean for these id's.
When I print them on the first tab, they are available,
but when I click the other tab, they dissapear....
Anyone who can help me how to do this ?
So I need to set a String in 1 tab, and display it after I changed to another tab.
Thanks.Hi,
I'm not using a VO.
I have in memory an array of selected id's.
They should be printed on another tab , but when I click that tab, they are empty.
If I display them on the same tab, they get filled out after I clicked the button.
But navigating away from that tab clears the contents.
Maybe some code could help :
in my backingbean_method :
RowKeySet rks = graph_table.getSelectedRowKeys(); => graph_table is the table using a VO and displaying some rows. (binding)
while(itr.hasNext())
key = itr.next();
graph_table.setRowKey(key);
Object o = graph_table.getRowData();
JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding) o;
Row row = rowData.getRow();
objectid[i] = row.getAttribute("Objectid").toString(); => array of objectid[] contains all selected objectids I want to display in another tab.
title = objectid[0]; => just to try one
i++;
I added a getter and setter method for title in the backing bean.
In my JSPX page, I use : #{FNI_backing_bean.title} -
Is it possible and how?
Thank you!Thanks V361-V361, but I either need to do it programmatically or to know if and how within cross-functionalities I can accomplish that.
If I have for instance 2 summarized fields (per row) OR 2 columns, I'd like to add a row above stipulating the field name.
Maybe you are looking for
-
HP Officejet Pro 8500A e-All-in-One Printer series (A910)
I can not print once I installed a new Magenta ink cartidge. It comes back with the same message to replace the magenta ink cartridge and this is the second new cartridge in two days. I did notice the cartidge originally indicated only 50% full. N
-
My iPhoto book making process lost an option button, help?
Hi, I have now ordered 3 medium softcovered books. After I placed these orders I realized that I should have increased my preference settings to the 300 dpi as suggested by many on this discussion board. So, I have since done so. Now when I go back i
-
Looking for a business environment ringtone
For crying out loud Apple!!! My ringtone software I paid $20 for and used to send a normal cellphone ringtone to my iPhone stopped working after 1.1.1. You know, it would be so nice and thoughtful of Apple to simply give us one (1) ringtone that soun
-
Init() called twice??
Hi all, I have a simple dummy servlet, and when I set it up with "load-on-startup" = 1, the init() method is called twice by different threads! I've logged the thread's getName() to stdout. This is what I see: (main) init........ (http-8084-Processor
-
Songs play for only 30 seconds
my songs only play for 20-60 seconds (depends on the songs) and then moves to another song. How do I stop this from occurring?