How to do Grouping columns in XL-Report (Report Composer)
hi Guys,
Can anyone explain regarding the Issue of "Grouping the Columns in XL-Report" how to do this? ie especially in Report Composer how to do Grouping in this XL-Report
can any one explain briefly without giving any URL's. Can any suggest r views abut this issue.Can any one help regarding this issue asap?
Regards
ANAND
Hi there
Highlight the column on which you want to group. In the Advanced report builder (The window to the left of the spreadsheet) click on column summary (the icon with the + and what looks like a gate). Now you can put in the criteria for the grouping in that window.
Hope this helps.
Regards
Danie
Similar Messages
-
How to un-group columns on my the report and how to add an export to PDF
Hello OBIEE developers...
So, I have this report with about 7 columns, I just submitted to my boss he came back saying "Don’t group the columns, the users typically want to see data on each row".... I am not quite sure what in the world he is talkign about, do I need to report each separate or if separate how do start that? I am sorry I am new to this area, some of my questions might be senseless..
Also, on the same dashboard I am required to add an option where users can export the dashboard to PDF, how do I go about that?
please help
Edited by: 994621 on Apr 25, 2013 10:32 AMSri,
Right, may be that's what I should have said: once you've opened the dashboard then I need to export it as a dashboard. How do I that? There is a way, my predecessor was able to do it. I have a report with a print as a pdf on the dashboard with pdf icon on it (its a separate dashboard from the report) and you are able to print it as the pdf doc. I just can't figure out how he was able to do this,
Any idea?
Edited by: 994621 on Apr 25, 2013 2:13 PM -
How to create some columns dynamically in the report designer depending upon the input selection
Post Author: ekta
CA Forum: Crystal Reports
how to create some columns dynamically in the report designer depending upon the input selection
how export this dynamic report in (pdf , xls,doc and rtf format)
report format is as below:
Element Codes
1
16
14
11
19
10
2
3
Employee nos.
Employee Name
Normal
RDO
WC
Breveavement
LWOP
Sick
Carers leave
AL
O/T 1.5
O/T 2.0
Total Hours
000004
PHAN , Hanh Huynh
68.40
7.60
76.00
000010
I , Jungue
68.40
7.60
2.00
5.00
76.00
000022
GARFINKEL , Hersch
66.30
7.60
2.10
76.00
In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
Can anybody help me how do I design such report....
ThanksHi Developer life,
According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric values) in the details, add an filter to filter the data base on this column group, but if
the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
Similar threads with details steps for your reference:
https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings
If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
Any question, please feel free to let me know.
Best Regards
Vicky Liu -
How to extract the column width in ALv report if its executed in background
I am executing an ALV report in background , in front end i am getting data properly, in back end for some columns some of the digits are missing.For example if PO no is of 10 digits it will display only 8 becos column size is like that , how to extract coulmns in back ground.
I have executed in background and checked the spool and for some of the columns width is not sufficient to display comeplete data so please suggest how to extract the columns sizes if executed inj background for an ALVHi Deepthi,
you can try with the above mentioned suggestions ,if its worked its fine ,
If not use Docking container instead of custom container, For ALV in back ground jobs, its suggest to use docking container instead of custom container , below you can find the declaration for docking container and code to use docking and custom container in your program for fore and back ground.
or you can use docking container alone for both operations.
Data : G_DOCK1 TYPE REF TO CL_GUI_DOCKING_CONTAINER,
IF CCON IS INITIAL. (ccon is container name )
*Check whether the program is run in batch or foreground
IF CL_GUI_ALV_GRID=>OFFLINE( ) IS INITIAL.
*Run in foreground
CREATE OBJECT CCON
EXPORTING
CONTAINER_NAME = 'CON1'.
CREATE OBJECT GRID1
EXPORTING
I_PARENT = parent_1.
ELSE.
*Run in background
CREATE OBJECT GRID1
EXPORTING
I_PARENT = G_DOCK1.
ENDIF.
ENDIF.
B&R,
Saravana.S -
How to change Group Header Font in Crystal report Left Most Group Tree?
Hi Dears!
I am using crystal report 10 with C# 2005. I have an issue that i want to change the font of Group Header Text that is visible when we click on Toggle Group Tree button and a tree pane is visible towards the left side of report viewer.Means all the Group Tree Items that are visible when we click Toggle Group Tree button on Crystal report Viewer.
I have goggled a lot but unable to find any hint. Any idea or help would be highly appreciated .
Thanks in advance.look for information on drilldowngrouplevel function. this is available in versions 9 and higher.
i cant test it in mine to give you the syntax, but you would need to create another section and conditionally surpress the section on the drilldowngrouplevel function. hope this helps -
How to increase the column size of interactive report
Hi , I am using apex 4.2 and theme 25 ..
i did not find any option to increase the column size of interactive report. where as in classic report i can do so ,,
Please guide me to achieve that.
Thank You,
Nihar NarlaNihar Narla wrote:
Hi , I am using apex 4.2 and theme 25 ..
i did not find any option to increase the column size of interactive report. where as in classic report i can do soThis can be done using CSS. Create a rule like this in the page Inline CSS property:
.apexir_WORKSHEET_DATA td[headers="COLUMN_ALIAS"] {
width: 10em;
}where COLUMN_ALIAS is the alias of the column in the report query and the width measure is whatever you require. -
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. -
How to hide row column on condition in report
Hello everyone,
Can its is possible to hide a Column of a row in report.
For one customer i am having Opening Balance n Closing Balance data.....i m breaking my report on customer wise (First Column). So I can see Customer only one time not 5..... now i want to see Opening Balance Data only in first row n Closing Balance Data only in last row.
How can i achieve this, pls help!
regards,
UKJHi,
I have no idea but try this:SELECT SEGMENT1,
VENDOR_NAME,
VENDOR_SITE_CODE,
INVOICE_NUMBER,
INVOICE_DATE,
INVOICE_TYPE_LOOKUP_CODE,
PAY_DATE,
DESCRIPTION,
CHECK_DATE,
CHECK_NUMBER,
VOUCHER_NUM,
SUM(debit) debit,
null credit,
op_bal,
cl_bal
from (
SELECT SEGMENT1,
VENDOR_NAME,
VENDOR_SITE_CODE,
INVOICE_NUMBER,
INVOICE_DATE,
INVOICE_TYPE_LOOKUP_CODE,
PAY_DATE,
DESCRIPTION,
CHECK_DATE,
CHECK_NUMBER,
VOUCHER_NUM,
SUM(debit) debit,
null credit,
op_bal,
cl_bal
row_number () over (partition by VENDOR_NAME order by INVOICE_DATE) rnk
from (
SELECT SEGMENT1,
VENDOR_NAME,
VENDOR_SITE_CODE,
INVOICE_NUMBER,
INVOICE_DATE,
INVOICE_TYPE_LOOKUP_CODE,
PAY_DATE,
DESCRIPTION,
CHECK_DATE,
CHECK_NUMBER,
VOUCHER_NUM,
SUM(debit) debit,
null credit,
op_bal,
cl_bal
FROM (
SELECT POV.SEGMENT1,
POV.VENDOR_NAME,
pov.vendor_id,
POVS.VENDOR_SITE_CODE,
hou.SET_OF_BOOKS_ID,
API.INVOICE_NUM INVOICE_NUMBER,
API.INVOICE_DATE,
API.INVOICE_TYPE_LOOKUP_CODE,
APPL.ACCOUNTING_DATE PAY_DATE,
API.DESCRIPTION DESCRIPTION,
TO_CHAR(APC.CHECK_DATE, 'dd-MON-yyyy') CHECK_DATE,
APC.CHECK_NUMBER,
APC.DOC_SEQUENCE_VALUE VOUCHER_NUM,
API.INVOICE_AMOUNT,appl.amount,
DECODE(API.INVOICE_TYPE_LOOKUP_CODE,'CREDIT',API.INVOICE_AMOUNT ,appl.amount) debit,
null credit,
jai_ap_rpt_apcr_pkg.compute_credit_balance(API.INVOICE_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) cr_amt,
jai_ap_rpt_apcr_pkg.compute_debit_balance(API.INVOICE_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) dr_amt,
jai_ap_rpt_apcr_pkg.compute_credit_balance(:P22_FROM_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) -
jai_ap_rpt_apcr_pkg.compute_debit_balance(:P22_FROM_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) op_bal,
jai_ap_rpt_apcr_pkg.compute_credit_balance(:P22_TO_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) -
jai_ap_rpt_apcr_pkg.compute_debit_balance(:P22_TO_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) cl_bal
FROM AP_INVOICES_ALL API,
AP_INVOICE_LINES_ALL APIL,
AP_INVOICE_DISTRIBUTIONS_ALL APD,
PO_VENDORS POV,
PO_VENDOR_SITES_ALL POVS,
AP_INVOICE_PAYMENTS_ALL APPL,
AP_CHECKS_ALL APC,
hr_operating_units hou
WHERE API.INVOICE_ID = APIL.INVOICE_ID
AND API.INVOICE_ID = APD.INVOICE_ID
AND API.VENDOR_ID = POV.VENDOR_ID
AND API.VENDOR_SITE_ID = POVS.VENDOR_SITE_ID
AND API.INVOICE_ID = APPL.INVOICE_ID
AND APPL.CHECK_ID = APC.CHECK_ID
AND APIL.line_number = apd.invoice_line_number
AND APD.match_status_flag='A'
AND API.org_id=hou.ORGANIZATION_ID
AND APIL.LINE_TYPE_LOOKUP_CODE='ITEM'
AND api.org_id = nvl(:p22_org_id,api.org_id)
AND TRUNC(API.INVOICE_DATE) BETWEEN NVL (:P22_FROM_DATE,API.INVOICE_DATE)AND NVL(:P22_TO_DATE,API.INVOICE_DATE)
GROUP BY SEGMENT1,
VENDOR_NAME,
VENDOR_SITE_CODE,
INVOICE_NUMBER,
INVOICE_DATE,
INVOICE_TYPE_LOOKUP_CODE,
PAY_DATE,
DESCRIPTION,
CHECK_DATE,
CHECK_NUMBER,
VOUCHER_NUM,
op_bal,
cl_bal
UNION
SELECT SEGMENT1,
VENDOR_NAME,
VENDOR_SITE_CODE,
INVOICE_NUMBER,
INVOICE_DATE,
INVOICE_TYPE_LOOKUP_CODE,
PAY_DATE,
DESCRIPTION,
CHECK_DATE,
CHECK_NUMBER,
VOUCHER_NUM,
debit,
SUM(credit) credit,
op_bal,
cl_bal
FROM (
SELECT POV.SEGMENT1,
POV.VENDOR_NAME,
POVS.VENDOR_SITE_CODE,
API.INVOICE_NUM INVOICE_NUMBER,
API.INVOICE_DATE,
API.INVOICE_TYPE_LOOKUP_CODE,
NULL PAY_DATE,
API.DESCRIPTION DESCRIPTION,
NULL CHECK_DATE,
NULL CHECK_NUMBER,
NULL VOUCHER_NUM,
DECODE(API.INVOICE_TYPE_LOOKUP_CODE,'CREDIT',NULL ,abs(API.INVOICE_AMOUNT)) credit,
DECODE(API.INVOICE_TYPE_LOOKUP_CODE,'CREDIT',abs(API.INVOICE_AMOUNT)) DEBIT,
jai_ap_rpt_apcr_pkg.compute_credit_balance(API.INVOICE_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) -
jai_ap_rpt_apcr_pkg.compute_debit_balance(API.INVOICE_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) op_bal,
jai_ap_rpt_apcr_pkg.compute_credit_balance(:P22_TO_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) -
jai_ap_rpt_apcr_pkg.compute_debit_balance(:P22_TO_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) cl_bal
FROM AP_INVOICES_ALL API,
AP_INVOICE_LINES_ALL APIL,
AP_INVOICE_DISTRIBUTIONS_ALL APD,
PO_VENDORS POV,
PO_VENDOR_SITES_ALL POVS,
hr_operating_units hou
WHERE 1=1
and api.org_id=apil.org_id
and API.INVOICE_ID = APIL.INVOICE_ID
AND API.INVOICE_ID = APD.INVOICE_ID
AND API.VENDOR_ID = POV.VENDOR_ID
AND API.VENDOR_SITE_ID = POVS.VENDOR_SITE_ID
and api.org_id =apil.org_id
and api.org_id=hou.ORGANIZATION_ID
and apil.line_number = apd.invoice_line_number
AND apd.match_status_flag='A'
and apil.LINE_TYPE_LOOKUP_CODE='ITEM'
AND api.org_id = nvl(:p22_org_id,api.org_id)
AND TRUNC(APD.ACCOUNTING_DATE) BETWEEN NVL (:P22_FROM_DATE,APD.ACCOUNTING_DATE) AND NVL (:P22_TO_DATE,APD.ACCOUNTING_DATE)
GROUP BY SEGMENT1,
VENDOR_NAME,
VENDOR_SITE_CODE,
INVOICE_NUMBER,
INVOICE_DATE,
INVOICE_TYPE_LOOKUP_CODE,
PAY_DATE,
DEBIT,
CREDIT,
DESCRIPTION,
CHECK_DATE,
CHECK_NUMBER,
VOUCHER_NUM,
op_bal,
cl_bal)
where rnk = 1If it doesn't work as required then alter the line row_number () over (partition by VENDOR_NAME order by INVOICE_DATE) rnk
I've just guessed that you can find a unique record (a persons account) by partitioning by the vendor_name at that point but perhaps you need other things.
Mike -
How to show the columns dynamically in OBIEE report based on the selection?
Hi,
I have a requirement where the columns should be dynamically shown in report based on what we select in propmt page.
I'm creating a report in OBIEE where i want to give an option to the end user to select the columns whichever he wants to see in the report.
For example I have the following columns in the report already:
Customer Name,
Customer Number,
Bank Account,
Address
I want to give an option to the user to select 'Customer Mail ID' dynamically and see the column to be displyed in the report along with the existing columns.
Through 'Column Selector' user can select a single column at a time, but if he want to select more than one column, how can we do this ?
Please help me out in resolving this issue.
Thanks,
Chaithanya.Hi Chaithanya,
there's not a straight solution for this. You can create different analysis containing different number of columns and then directing the user to this analysis using Action Links or you can also use View Selector to switch from one view (analysis) to the other. But it's not going to be very flexible nor dynamic.
J. -
How to refer a column name in form report
Hi,
How can i refer a column name in the form report. My issue is that " I have a form report in that i have column name when i use to click the column name it should bring me to next page with the corresponding values of the column."
Here i have achieved that when i click on column name(in Page1) it brings me to next page(Page2). but in the next page(P2) i want to display(only display) the corresponding values of the selected column(Page1) but the values should not be editable and should not be in text field it should be in display only field.
So how can i write a sql query in display only souce field. Ie, how can i refer the column name in(page1) form report.Hi Karthik
Very good morning.
I think u have column link in the first page and when u select a data in the first page and when u r moving to the next page the the corresponding data need to there is it correct.
For example You have table Employee and u have a select list in the first page contains name of the employee when u select one name and corresponding datas of the employee need to be in the second page.
So Dont clear the cache of the first page.
I the next page make the page items as display only and give the source of the all items a returning the single sql query.
If u have four items in the next page namely p2_sal, P2emp_no etc..
Then use like this
select sal from emp where emp_name=:P1_EMPNAME
Hopes this might helps you.
Thanks & Regards
Srikkanth.M -
How to add a column in alv grid report to show the serial no.
i need to add column to show the row no. of the report say as :
1
2
3
this has to be the first column
how to maintain a variable for this and how to use it??
please helpone simple way is in your final itab declare a slno type i field
data : begin of itab occurs 0,
slno type i,
<other fields>
end of itab.
after filling the data in itab.
loop at itab.
itab-slno = sy-tabix.
modify itab.
endloop.
in fieldcatalog also you have to define that slno field as the first column.
but it will change its order if you are sorting the output or filtering the output.
regards
shiba dutta -
How to find group wise total in crystal report?
Dear All,
I have to find the total of a Quantity value based on the Item code.How to achieve that in Crystal report.
Scenario:
Itemcode orderno Qty
A 1 100
A 2 20
A 3 30
B 1 10
B 2 20
Now i have to find the group total based on the Item code: Like A:150 and B:30 which should come like mentioned below
A Total 150
A 1 100
A 2 20
A 3 30
B Total 30
B 1 10
B 2 20
Can anybody pls tell me how to solve this?Hi,,Raghavendra
I attach new image... Providing better understaning....
I want to try some steps which are defined above....
My basic Requirement is ITEMCODE WISE SUM OF QUANTITY. -
How to Substract Adjacent Columns in SSRS Matrix Reports
Hello Experts!
Month 2005
2006
January 648343.8132
May 733248.3506
June 587549.2014
July 259933.2074
623172.5646
August 501182.4458 513690.3892
I have a report like this and i want to show the o/p like
Month 2005 2006 2005-2006
January 648343.8132 648343.8132
May 733248.3506 766248.3506
June 587549.2014 587549.2014
July 259933.2074
623172.5646 363239.3572
August 501182.4458 513690.3892 12507.9434
Tried using Previous Function but it is not working for Matrix Reports i.e. Overlapping Columns
Tried Custom Code like
Public Shared previous as Integer
Public Shared current as Integer
Public Shared Function GetCurrent(Item as Integer) as Integer
previous=current
current=Item
return current
End Function
Public Shared Function GetPrevious()
return previous
End Function
I've taken the Column Insert Column-->Insert Group-Right and in that i written the expression as
=Code.GetCurrent(fields!Score.Value) & "-Previous-" & iif(Code.GetPrevious()=0,"",Code.GetPrevious())
Still it is not working
Please help me regarding this
Thanks & Regards
VIJAYHello RSINGH,
Previous Function is not working Matrix Report. So i written the expression like
=SUM(Fields!Sales.Value)-Previous(SUM((Fields!Sales.Value)))
The result is is subtracting Row wise but i want to subtract Column Wise i.e. 2006 Jan-2005 Jan & 2007 Jan-2006 Jan & 2006 Feb-2005 Feb so on...
but with the above expression it is showing 2005 feb-2005 Jan and 2005 Mar-2005 Feb and son on -
How to add a column to an existing report
Hi,
I have a report which I need to modify (add a date column). I included the date in the query but it doesnt show up when I run the report.
Where else do I have to make changes and how?
I need some help.
Thank you all so very much.
A/AHi,
mhh, how should we know what you've done? Could it be that you tried to arrange the fields to bring the new field at the right position and you not only arranged them to the top, but additionally to the left ????
Regards
Rainer -
How To make group wise total in Bex report
Hi!!! Guru's
i m doing reporting on SD module, so client wann see the summerised report
on delivarys, senario is the one sale order having the multiple delivery, so the
i have to show the total result for all deliverys agianst the purticular sales order
in one row.i know we can do that at the excel level but hot to do it at the query
design level.highly appreciate u r help on this.
wil asign pts for sure,,,
thanks in adv
MohanHi!!! Trippel K
thanks for reply...
my Q's is how to make the group wise total means, i m going to genaret the
report on delivery delays on cube 0SD_C04 (Delivery Service), in that the the date
is comming from the 2LIS_12_VCITM delivery item data, the schedule line data
from 2LIS_12_VCSCL, when i m getting according to date wise it showing all data from item level n schedule line, the senario is i have to use date from item level n
all delivery from schedule line, so any inputs regarding this, plz let me, wil appecite
u inputs
thanks in adv
Mohan
Maybe you are looking for
-
Multiple Apple ID's/One Computer
My three kids each have their own Itouch. They each have their own Apple ID as well. Whenever we connect one of the itouches, Itunes attempt to load evey app loaded by every separate apple ID. i though with separate accounts, this would not happen
-
looking to edit the final frame which is the the "credits" section. I have already converted the trailer. Is it too late to correct some nserts in the credits? Thanks to all.
-
How do I add a tax form field to a tax form magnetic tape structure?
I'm in version ECC 6.0: I copied SAP's tax form HR_F_1099R_TAPE and created ZHR_F_1099R_TAPE, bringing in all the entries. The only change to ZHR_F_1099R_TAPE is to add tax form fields T102 (STATE withholding) to position 139 and T103 (STATE tax) to
-
Pan and scanning 4:3 footage which has a 16:9 letter box on it.
Dear FCP users, I'm cutting some DVD extras and have some 4:3 footage which has a 16:9 letter box on it. How to I go about zooming into the image to make it full screen 16:9? I appreciated there will be a loss of quality. Also, is there a way to batc
-
Request for sample code, Validating XML Schema
Does anyone have some sample code to validate an XML Schema with the Oracle parser? Also, the classgen code seems to have more XML Schema classes in it. There is an xschema.jar full of XML Schema related code. Would it be possible to use this code? I