Cross Tab with Calculated Member Fails in BO Enterprise
Hello,
I have a report (Crystal Reports 2008) that I created using a cross tab, with a calculated member field. This report runs fine on my desktop, but fails when published to Crystal Enterprise (Server 2008).
When scheduled, the instance history states Crystal Reports: Print Engine Error
When I remove the calculated member from the cross tab, it runs fine.
Has anyone come across this and if so, how did you resolve it? I believe this is a brand new feature in Crystal Reports 2008 - is it not supposed within Enterprise?
Thank you for your assistance.
Root Cause: I had built my report in Crystal Reports 2008 on the latest Service Pack/Fix Packs (which addressed the issue of calculated member). My Crystal Reports SERVER 2008 was on a lower version.
I opened a message with SAP support and they were unable to tell me how to apply service packs to my Server. They then pretty much abandoned my question, so below is what I came up with on my own to fix the issue.
There are no specific service packs/ hot fixes for Crystal Reports SERVER 2008, so I had to:
1) install Crystal Reports V0 on my CRS 2008 machine
2)Install all Service Pack/Fix Packs available for Crystal Reports 2008 (even SP1, even though all SAP documentation tells you not to do this, it is required before you can install SP2)
3) Reboot Server
If you do the same thing as me, just a warning that installing the Crystal Reports SPs will break InfoView/CMC until you apply them all and re-boot.
Similar Messages
-
Format Fields in Cross Tab and Calculated Members
Hello:
I have a cross Tab with a calculated member, I need to display one decimal or no decimal in some of the columns so I created a formula in the Display String option like this:
if GridRowColumnValue ("@TestID_desc")= "ALK mg/L
then
Cstr(CurrentFieldValue, "0")
else
Cstr(CurrentFieldValue, "0.0")
But, after I saved the formula the value in the calculated member colums disappears. Any ideas? Thank You in advance!right click on calculated field and go to format field and in number tab select customize button and write the condition for decimals.
regards,
Raghavendra -
Column dissappeared in Cross tab with specific order
Hi experts,
I have a cross tab, with 2 columns from YEAR (2009, and 2010). Then I created a other column with the differences of both columns before, I changed the SPECIFIC ORDER and the 3th column is DISAPPEARED!!!
I dont understand why!!
thank you very muchAt the beggining i have the following columns:
2009 2010 Desviation
I created this with specifciar order.
Then, I want to change the order and I put :
2008 2009
but the desviation is disappearing.
thank u -
Creating a header for rows/columns in cross-tab with syntax
Hi,
The issue is creating strings for rows or columns' headers. How can I create a formula field which contains more than one seperate string. Such as "aaa", "bbb" and "ccc" are headers and they should be in seperate columns. In short, they will behave like characteristics of one of my query's field but they are just headers of the columns.
..............aaa...bbb...ccc....
row1.......x.......x........x.....
row2.......y.......y........y.....
Also there is another issue about the formulation again. Is there any operator that does the same job as " \n" which is used in C languages to break the line?
before:
aaabbb
after:
aaa
bbbHi Carl;
Firstly, thanks for answering my question. To explain my problem there are two options ahead(for my first question); first one is writing down the actions step by step, the second one is posting an image file(jpeg etc) to visualize it. I think the first one will be enough. If not tell me
Step 1- Create a cross-tab and right click and select cross-tab expert.
Step 2- Click the button "New Formula" and write down any word(such as "Sales") between two -"- sign to make it string.Then save and close.
Step 3- Drag and drop the created formula to "columns" section and fill the other necessary sections with your database's(such as xtreme.mdb which is famous for crystal users) fields.Don't forget to add another column value to "columns" section, since our formula has no link to database.
Step 4- Then click OK to save the changes and lets preview the cross-tab.The result will have one top column and his child or children(that depends on your data). And this top column is behaving like a header not a field.
Now turn the second step but write down a formula for 2 columns or more.For exmple "Sales" and "Profit".So the result will have 2 top columns and their child/children.
My question is "what is the formula for 2 or more columns?"
Also I couldn't get the answer for my second question. What is the meaning of expressions "\c" and ChrW(13)?
Edited by: diabolus on Oct 30, 2009 9:39 AM -
Cross-tab with a lot of data causes fault in crpe32.dll when exporting to Excel
Hello. I believe I found a bug in the Service Pack 9. After upgrading my production to runtime 9, I found that cross-tab reports with large datasets crashed the website. Per the Windows Application Log, a fault happened in the crpe32.dll. So I uninstalled the runtimes for 9 and re-installed 8 and the reports worked again. My production uses the 64 bit runtimes.
I created a test site which includes a two datasets one large and one small with two reports, one cross-tab and another non-cross-tab. The site has four pages, one to open the cross-tab report using the large dataset, another with the same cross-tab report using the small dataset, another for the non-cross-tab report using the large dataset and the last with the non-cross-tab report using the small dataset. Only the cross-tab report using the large dataset causes the fault. I’ve attached the test site for you use as needed.Hi Thomas,
What version of Visual Studio are you using?
What OS are you using?
What version of IIS?
I did a quick test using a simplied one liner WEB app and I see the same thing...
FYI, changes we've done is IIS recommends, actually it's a must, to load the report and viewer in the Page_Init section and not the Page_Load so you initialize all of the required dependencies, Page Load doesn't handle it properly...
I tried both, doesn't make any difference...
By the way your "large dataset" is not that big. I've seen people use a 10 meg xml files.
Try moving all of your code to the Page_Init section and test again to confirm...
I don't believe it has anything to do with the amount data directly, I believe it's the number of pages to render for a crosstab report.
I'll escalate this to DEV - ADAPT01726274
Set for SP 10 ( which means I set it to be fix in SP 10 but it does not mean it will be. All depends on DEV's work load )
Thanks
Don -
Cross tab with multiple repeating columns
Hi All,
I'm developing a cross tab report.. my sample xml file is
<?xml version="1.0" encoding="UTF-8"?>
<ROWSET>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Call - Back Office</DD_CODE>
<NOTE_DATE>12</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Call - Back Office</DD_CODE>
<NOTE_DATE>11</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Call - Back Office</DD_CODE>
<NOTE_DATE>14</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Call - Back Office</DD_CODE>
<NOTE_DATE>112</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Call - Monitoring</DD_CODE>
<NOTE_DATE>121</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Call - Monitoring</DD_CODE>
<NOTE_DATE>122</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Call - Monitoring</DD_CODE>
<NOTE_DATE>131</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Call - Monitoring</DD_CODE>
<NOTE_DATE>111</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Site Visit - Back Office</DD_CODE>
<NOTE_DATE>11</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Site Visit - Back Office</DD_CODE>
<NOTE_DATE>143</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Site Visit - Back Office</DD_CODE>
<NOTE_DATE>122</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Site Visit - Back Office</DD_CODE>
<NOTE_DATE>111</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Site Visit - Monitoring</DD_CODE>
<NOTE_DATE>1432</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Site Visit - Monitoring</DD_CODE>
<NOTE_DATE>112</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Site Visit - Monitoring</DD_CODE>
<NOTE_DATE>121</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Site Visit - Monitoring</DD_CODE>
<NOTE_DATE>123</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Visit - WDE Office</DD_CODE>
<NOTE_DATE>123</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Visit - WDE Office</DD_CODE>
<NOTE_DATE>1321</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Visit - WDE Office</DD_CODE>
<NOTE_DATE>1312</NOTE_DATE>
</ROW>
<ROW>
<NAME>Product</NAME>
<DATE>2008-05-01T00:00:00.000-05:00</DATE>
<TYPE_CODE></TYPE_CODE>
<MOST_RECENT_NOTE_DATE>1</MOST_RECENT_NOTE_DATE>
<DD_CODE>Visit - WDE Office</DD_CODE>
<NOTE_DATE>211</NOTE_DATE>
</ROW>
</ROWSET>
If I use the cross tab wizard ...I'm get the following output..
-------------Call - Back Office-------Call - Monitoring-------Site Visit - Back Office-------Site Visit -Monitoring-----Visit - WDE Office
product 12 121 11 1432 123
but I'm looking for output like...
-------------Call - Back Office-----Call - Monitoring------Site Visit - Back Office------Site Visit -Monitoring-------Visit - WDE Office
product-------12 11 14 112-----------121 122 131 111----------11 143 122 111------------------1432 112 121 123 ---------123 1321 1312 211The numbers under each column are dynamic ..I might be getting 2,3,4..(In this case all are four)...I looked at the below link but it had static 2 repeating columns..but in my case the repeating columns are unknown...
http://winrichman.blogspot.com/2008/09/crosstab-with-multiple-repeating.html
Is is possible to build a cross tab like that..?
Thanks in Advance..Hi..
Thanks alot for your time..
can I e-mail you my actual xml file..? becuase if there are multiple rows(multiple <?NAME?>)...the column headers(DD_CODE) are repeating for every row(<?NAME?>)..also is it possible to get each NOTE_DATE in a cell(here all the NOTE_DATE are displaying in a table)....
present output...
-------------Call - Back Office-----Call - Monitoring------Site Visit - Back Office------Site Visit -Monitoring-------Visit - WDE Office
product-------12 11 14 112-----------121 122 131 111----------11 143 122 111------------------1432 112 121 123 ---------123 1321 1312 211
-------------Call - Back Office-----Call - Monitoring------Site Visit - Back Office------Site Visit -Monitoring-------Visit - WDE Office
product1-------11 15 13 12-----------00 111 132 444----------12 434 123 171------------------1832 162 221 124 ---------143 1231 1311 241
looking for output like..
-------------Call - Back Office-----Call - Monitoring------Site Visit - Back Office------Site Visit -Monitoring-------Visit - WDE Office
product-------12 11 14 112-----------121 122 131 111----------11 143 122 111------------------1432 112 121 123 ---------123 1321 1312 211
product1-------11 15 13 12-----------00 111 132 444----------12 434 123 171------------------1832 162 221 124 ---------143 1231 1311 241Thanks in Advance... -
Convert cross tab with 2 summarized fields to a chart
Greetings,
I have a simple cross tab containing a date row and 2 summarized fields. It looks like this (see Figure 1)
When I convert (insert) my cross tab into a stacked bar chart, I only get one of the summarized fields to show up on the chart. It looks like this (Figure 2)
Is there a way for me convert this cross tab into a stacked chart so that both of my summary fields appear?
Many Thanks!OK... Thank you.
I was using the cross tab in hopes of controlling graph labels for months (Customize Group Name field) . What I was doing was converting dates to month verbiage (Sep, Oct, Nov, etc) so that the month verbiage would appear on my graphs instead of the numbers while still maintaining proper calendar order . (thanks for showing me this technique by the way as it works great). Too bad it does not work when there is more than one summary field (thanks for explaining its limitations... I had not told you that I was adding a second summary field).
Given that I have 1 row ( Date_discharge) that I need to display as months (verbiage) in calendar order
and
Given that there are 2 summary fields: Vaccine Indicator (a sum) and Birth_date_Baby (a count) ...
(I am contrasting # of vaccine's given against total babies per month in a monthly stacked bar chart)
Is there a way to display 2 summary fields on a stacked bar graph grouped by month (where the month is listed in alpha format, (Sep, Oct, Nov, etc.) but still sorted by its calendar value? My initial attempts to do this in a graph (without a cross-tab) would display the month verbiage just fine, but it would order my months alphabetically.
Thanks again for your suggestions! -
Filling cells of a cross tab with zero if null
Hi All,
I am using Deski 5.1.
We have a cross-tab, that show sales data like below for each week id and store.
Week_ID Store1 Store 2 Store3
12 100 150
13 100 180
14 200 250 250
When there is no sales for a store in a week, the cross tab is showing a null in the cell. Can I show that as Zero using some formula?
Kindly help.
Warm Regards,
Chandran KCS.Hi Chandran,
In a crosstab you can have cells that are not even null, but simply no data exists for that cell.
That combination of dimension objects is not in the database.
In this case you can use format cell to get a zero in these cells.
Right click the cell and from the Format Cell submenu, choose a number format,
then add a 0 (zero) under the heading undefined.
Now all empty cells will show as zero.
Good luck,
Marianne -
Post Author: ivanl
CA Forum: Formula
Hi,
Using XI and win XP.
I have been using excel to get the info I need, but thought it must be possible to do it right in the cross tab. I need two different cross tabs, and do not know how to do the following.
The fields I have in the dataset include:
- product.type (different products and one field "product.type = 'customer' that is the customers)
- product.balance (balance of each product for each customer)
- formula for age segmentation
What I need to input into the cross tab is to have the segmentation across the top, products for the rows and as the summary:
1) penetration rate (i.e. count of product types divided by # of customers which is product.type = customer)
2) $ per customer (product balance divided by customers)
3) $ per product (product balance divided by # of products)
Help would be awesome. I have no idea how to do this in Crystal
To date, I have set up a cross tab with segment across top, products down the rows, and as a summary using count products and sum of balances. I would input this into excel and do the calculations.
IvanHi, this may help,
http://www.chelseatech.co.nz/pubs.htm
Look down on the right side, you should see
Sample Report Files
Sales Calendar
Calendar Report
Running Totals in a Crosstab
Wrapping Crosstab
PDF Drill Down
Crosstab calculations
Hierarchical Summary in a formula
You can download an example of Crosstab Calulations from this site.
They have some newsletters that also contain CR hints. -
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. -
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 -
I have a cross tab with a date in column 1. I have it grouped by week. This makes the date displayed as a Sunday date, since day 1 is Sunday. If I change the group option to last day, it displays a Saturday date. I would like to see this date as a Friday date.
Is there a formula I should use, or is this a CR option that I should change?
Thanks for any input.Hi,
Create a formula as
DayOfWeek ({Orders.Order Date},crFriday)
Insert the group on this formula.
In group Options > Options > Select the option use a formula as the grooup name> insert the date field as totext(Datefield).
Regards,
Vinay -
Hello...
I created one cross tab with 10 rows and 2 columns.(In Crosstab Expert) Based on grouping i got 5 set of cross tab reports,Each cross tab contains 4 records .But in between these crosstabs blank spaces are there ,How can i avoid such blank spaces...
Expecting Answers.....Thanks...Hello Jebin
I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
It is monitored by qualified technicians and you will get a faster response there.
Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
Best regards,
Falk -
Hi,
i would like to add additonal data to the row-label in a cross-tab.
....................... C1 C2 C3
Customer1
.... add.Data1
Customer2
.... add.Data2
Customer3
.... add.Data3
How can i do that?
The link between the Customer-Table and the Extra-Data is the customer-id and a Date-Field (parameter of the report - used for filtering on a date-basis).
Table for extra data:
customer-id date amount
DATE is a parameter of the report.
Is there any way to do this?
(I use CR XI).
Result should look like this:
Selected Date (Parameter): 2009-02-02
...................................................... C1 C2 C3
Customer1 +
....amount on 2009-02-02 for C1
Customer2 +
....amount on 2009-02-02 for C2
Customer3 +
....amount on 2009-02-02 for C3
THX in advance,
MarkusHi,
Lets phrase it differently again
i have a second table from which i would like to add additional information to the row-information in a cross-tab.
customer.... date ... amount
Cust1....2009-02-01.... 10
Cust1....2009-03-01.... 15
Cust1....2009-04-01.... 77
Cust2 ........
Cust3 ........
I need ONLY the first amount from the starting-date in the CROSS-Tab.
The starting-date is a parameter in the report.
If i put there the linked amount-field i get a row for each different date.
I need only one row per customer with the first amount from date 1. (the parameter-date-value)
So if i enter 2009-03-01 as the parameter, i would like a cross tab with a row-name of:
"Customer1 + ChrW(13) + 15 "
It works with a SQL-Expression (named "StartSaldo") like:
(Select Saldo from Goldbeck_Saldo where D_Date = '20090301'
and "Goldbeck_Saldo"."I_PERSID"="BaseTable"."I_PERSID")
and a row name of "Customer.Name + ToText({%StartSaldoSQL})
However the Date "20090201" is hard-coded there.
I can find no way to make the Date from the SQL-Expression soft-coded (pass the parameter to the scalar SQL-Expression). According to another forum-post this is not possible.
THX
Markus
Edited by: Cumulus7 on Apr 27, 2009 4:25 PM -
How to Display Gap between Column in cross tab
Hi,
I have a requirement. I have a cross tab with 4 measures M1, M2, M3, M4. I need to have space between M1 and M2 and M3 and M4.
My layout should be like this
M1 M2 M3 M4
Is this possible in OBIEE ?
Thanks and Regards,
Krishna Prasadkrishna_36 wrote:
Hi,
I have a requirement. I have a cross tab with 4 measures M1, M2, M3, M4. I need to have space between M1 and M2 and M3 and M4.
My layout should be like this
M1 M2 M3 M4
Is this possible in OBIEE ?
Thanks and Regards,
Krishna PrasadIf you want a column padding (i.e., actual blank columns that separate your measures), then create dummy columns between the measures.
1) Click any column and in the fx enter CASE WHEN 1=0 THEN tablename.column_name END
This will create a blank column.
2) Put this in your pivot table, make 3 duplicate layers, and place them in between the 4 measure columns.
In effect, you will have the spaces which you can format to highlight the buffer columns.
Maybe you are looking for
-
Cannot view Profile Manager Portal
I can use some help here. Clean install of 10.7 Loin + Server app. Everything went fine. The server (Mac Mini) is configured as an OD Master with these services running - Address book, iCal, File Sharing, Mail, VPN, Web and Profile Manager. DNS
-
How do i get my favorites back after updating software on IPad?
How do I get my favorites back after updating software on Ipad? It asked to back up and restore which I did but now I cant find the favorites. Any suggestions.
-
I am using APO DP V5. I have two questions regarding the use of macros in DP: 1. Is it possible to call a macro from within a macro? 2. I believe it's possible to set up a 'collective macro', so that a group of macros can be executed together. But ho
-
Run report with prev day automatically
I have a report with passed parameters. actually i only need this reprt to run daily at 4am (we have the scheduler) but process the previous day. I dont need a from to really, just the one day. how do i prefill this in a param for date which is a num
-
HI , DEAR , I HAVE SOME PROBLEMS WITH MY IPHONE, _1*. ONE OF THE BOTTOM SPEAKER NOT WORKING*_ _2. GETTING OFF ITSELF WHILE TALKING, AND TAKES TIME TO COME BACK,THEN I CANT DISCONECT THE CALL AS WELL_ 3_+. BLUETOOTH NOT CONNECTING /NOT FINDING ANY OTH