Cross tab design : x position based on number of columns
Hello everybody,
In my report, I have a group section for the country.
For each country and in the group header, I have 2 cross tab.
They have always the same number of columns (columns is period).
But 2 country could have different number of periods.
I need to have the 2d cross tab just near the 1st (right side) so I want to change x position of the 2d cross tab depending of the number of period.
I have try to use GetNumColumns but it doesn't work (always not supported), this is the same for other grid value function.
I'm not sure to understand why ...
So I have tried to calculate the number of row , using another group (period), but I can't summarize in a header.
I'm a little bit lost and need some new idea...
For information, my reports are based on a simple mysql DB.
Thanks
hello, i see that no one has responded to your forum post...is this still an issue?
in the Section Expert for the section where the cross-tabs are sitting, there is a Relative Positions checkbox wherein the cross-tabs will stay in a relative x postion to each other.
e.g. if you are in design mode and the cross-tabs are 1/2 inch from each other, when previewed, the 2nd cross-tab will start 1/2 inch after the 1st one stops.
cheers,
jamie
Similar Messages
-
Shared Var in Cross-Tab Design
Post Author: bkormoski
CA Forum: General
I have a cross-tab design that requires me to used shared var from a subreport. The SV formulas are not in my available fields in cross-tab wizard. What other choices are there?
I am creating a summary financial statement that requires information from multi tables - because they are not directly related I am creating SV's to get the info I need. Any ideas welcome. THANKsPost Author: RichardN
CA Forum: General
I'm having a similar problem. I've created two variables in the main report
PLACE:
WhilePrintingRecords;Shared StringVar VPNum;VPNum
VENDPROD:
WhilePrintingRecords;{@Place}
I can insert VENDPROD into my cross-tab but the field is blank. On the details line, boty PLACE and VENDPROD display the correct (string) values. I've placed the Cross-Tab in both the Report Header and Report Footer sections and the VENDPROD field is always blank in the cross-tab. What am I doing wrong?
Thank you,
RN -
Hi to all,
I add a table,fieldobjects dynamically during runtime
by program to crystal report, now all the records are
displaying in this model
HeaderText1 HeaderText2
*Data1 Data2
*Data2 Data2
Now i want to show in this model
HeaderText1 Data1 HeaderText2 Data1
HeaderText1 Data2 HeaderText2 Data2
HeaderText1 Data3 HeaderText2 Data3
HeaderText1 Data4 HeaderText2 Data4
I think this is possible in CrossTab but i dont know how to
use it. Experts please tell me my thought is right then tell me
how to use it? or give me any solutions
Softwares i'm using Crystal Report 11.5, Visual Studio2005-C#,Asp.Net and SQL Server 2005
Thanks in advanceUnfortunately creating a Crosstab directly through the SDK's available for .NET is not possible. You may be able to create a similar functionality by creating formulas that append information to a database field then inserting the formula onto the report.]
I would suggest reviewing our RAS Report creation api samples available [here|https://boc.sdn.sap.com/samples/84/1194] -
Cross tab: Getting the count based on three consecutive dates
Hi All,
I have a crosstab which as Ticket_no and Date columns. here is the sample report data.
Ticket_no Date
1 1-Jan-2013
1 2-Jan-2013
1 3-Jan-2013
2 1-Jan-2013
1 1-Jan-2013
count of tickets which are raised for consecutive 3 days in a month. Here ticket_No 1 is raised for the first 3 days..so count will be 1.
Can any one help me in this case.
Thanks in advance.
Regards,
KrishnaKrishna, Bring Ticket_No as Dimension from universe,
In web I, create a variable
= Count([Ticket_No]) -
Problem using a conditional suppress in a cross-tab ?
is there a problem using a conditional suppress in a cross-tab on a row or summarized field in crystal XI?
I am using the following conditional suppress on a summarized field and its rows
If {@SortCode}=4 then true;
Sortcode is a group sorting formula field
the summarized field is a formula field as well.
All of the summarized fields are suppressed although the cross- tab performs correctly on @Sortcode and the summarized field when not using the condition
it seems to me to be a reporting flow issue although i've included "whileprintingrecords" and "evaluateafter" with no success.
i have also moved the cross-tab from the report header to group header and applied a conditional suppress on the group header through section expert.
this supresses the group i dont want but includes grand totals for each group and also varys the number of columns
i can't filter on sortcode because one of the grand total calculations requires those records and a subreport or second cross-tab does not contain the same number of columns
the cross-tab is necessary as a client may have columns spanning one to many pages
thanks for your helpHi I have a similar problem,
I have an clock in solution, where i have some dates with data such as, various entries for a date eg, 01/11/2010 1hr, 01/11/2010 3 hrs etc, 03/11/2010 2hrs , 05/11/2010 4.5hrs, 05/11/2010 4 hrs so i need total for each day and highlight only those days, where total is less than 4.5, including days which donu2019t have records eg 02/11/2010 & 04/11/2010, I summarise in totals using a cross tab, to get summarised output for each day as,
Totals
01/11/2010 4
03/11/2010 2
05/11/2010 8.5
in order to get the dates which didnu2019t have records, i added a dataset from Excel spreadsheet where i just have a sequential dates for the year , and use record selection to select only those dates in range which i need to display, so the result i get
01/11/2010 4
02/11/2010 0
03/11/2010 2
04/11/2010 0
05/11/2010 8.5
so far so good, all using cross tab, now i want to suppress rows which have total > 4.5 so the result should be
01/11/2010 4
02/11/2010 0
03/11/2010 2
04/11/2010 0
How can i do that? -
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 -
Count Function Specific with Cross Tab Name for Multiple Cross Tabs
Hello 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
SoniyaHi,
Have you tried for the solution given in the previous thread by converting it to the dimension or detail?
What result did you get?
If you use "Report" operator/keyword then the formula will give you result for whole report. So if you have sections in the report then you can replace it with Section keyword.
Also measure are dynamic and gives result according to the dimesion you associate with them. so you have to convert it to STRING dimension or detail. before using it in the next block.
Regards,
Rohit -
Is there a limit to no. of summary fields that can be used in a cross tab?
Hi,
While creating a cross tab is there a limitation to number of summarized fields that can be used?
- The cross tab when uses 184 fields as summary fields leads to Crystal report application to crash at the time of export to excel.
- Tried with two Datasources: XML and excel
- If we reduce the number of summary fields used to 102 exactly, export works fine in excel.
- If 2 cross tabs are used each containing 92 summary fields(in order to show 184) export to excel works fine.
Please let me know if there is any such limitation which leads to CR application to crash when exporting in excel?
Thanks
Regards,
NidhiI suggest you purchase a case and have a dedicated support engineer work with you directly:
http://www.sdn.sap.com/irj/boc/gettingstarted
Or
http://store.businessobjects.com/store/bobjects/Content/pbPage.CSC_map_countyselector/pgm.67024400?resid=jFmmLgoBAlcAAALO-iYAAAAP&rests=1278687224728
If this is a bug you'll get a refund, if not post your enhancement request in the Idea Place. Or the Rep will suggest a better way to create your report. -
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 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 -
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 -
Hide Column in Cross Tab Report
Hi guys,
I have an issue with the Cross Tab in CR2008.
I'm using 2 columns to calculate an other column, but these 2 columns should not be displayed in the report.
I tried to suppress the column but it still shows a white space.
I tried to change the column width, but it cant get it smaller then 0,113.
Can anyone tell me how to set the column width smaller using a formula or how to suppress the whole column.
Thanks in advance.
WilliamHi William,
Instead of using all 3 columns in the crosstab, just drop your main columnn on.
In the Design window, not the Crosstab Experrt, right-click the summary field and select Format Field.
In the Common Tab, open the formula for Display String.
Now you can take the value of your summary using the CurrentFieldValue and make your total. You may need to summarize the supporting numbers to calculate properly but it should work here properly.
I've used this for things like running totals and repeating values between rows.
NOTE: This formula only returns a string so make sure you format your final value as a string.
Good luck,
Brian -
Dear All,
We are using BO4.1 SP3 with Bex as data source.
I am trying to do summation in cross tab footer which gives total across all the columns of cross tab.
These sum is based on the dimension taken in the header of cross tab. So we are defining the condition in teh where condition.
The definition for summation depends on dimension.
We are using formula: Sum(Measure) Where (Dim = "ABC").
This formula is working correct in case if both the columns have data. In case of one of the column value is Null, its giving result output as Null.
If we are using IsNull then 0 then also it is giving result as Null. Can you please guide how to resolve this issue.
Regards,
SonalHi Sathish,
Have verified above approach, but not working. Please let me know in case of any other logic.
Regards,
Sonal -
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. -
Unable to create cross tab report with multiple level dynamic columns
Hi Gurus,
We are trying to develope group above cross tab report with BI Publisher.
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
Here regions and d1 d2 d3 may vary based on xml data.Also we have page break on country.
Thanks,
MaheshHi kavipriya,
Any update on this.I have set the rtf and xml to ur gmail id.
Thanks,
mahesh
Maybe you are looking for
-
Hi all, I was updating the software on my iPad2 and while trying to multitask stopped the update process. My iPad is now locked up and unresponsive. Does anyone have ideas about how to re-load the update?
-
Updated (VORowImpl ) values are not reflected in inline POPUP table
Hi Expert, Currently i am getting exception when i try to update my iterator binding, Here is my use case, I have view object displayed inside the inline popup as a table. When i modify one of the cell i am firing the value change listener and it is
-
Error during MIRO fpr number range .
Dear All , Pl see the error below during Posting MIRO --> In company code 1000, the number range 51 is missing for the year 2009 Message no. F5150 Diagnosis The document type you specified has been allocated t
-
I have a JTable that used to have a header on a JScrollPane, until i placed the table onto a JPanel. The header of my table suddenly disappeared, just the contents of my rows remain....does anyone know why?
-
my ipod was working great. All of sudden the colour of the pictures are faded. Sound is ok