Formatting Calculated values in Cross Tab
I have a P & L Style cross tab where I have inserted calculated values to calcuate the key % values (Turnover, Overheads etc).
I have used the "Quotient" calculations & bet the correct data, but I would like to format the values to show as %> When I try to change these values, all the values show as %.
Is there any way to achieve what I need?
Thanks
Thanks for that, it would have been easier than the way I found, which was using the display string in the field formatting.
I might have another pass at it now.
Much appreciated
Similar Messages
-
Calculating values on cross-tab
Post Author: Reisp
CA Forum: Charts and Graphs
Is it possible to calculate values in a cross-tab , for example , create a column3 = column1 + Column2 ?Hi,
try to cerate a new calc :
nvl(status_cnt,0)
and create the totals on it,
I think you got nulls in that column so it wont aggregate properly. -
How to display Zero(0) values in cross tab format in Webi???
Hi All,
Is there a way to display the zero(0) or null values in cross tab format in
webi. I can able to display in Regular tabular format in Webi as u got an option
in Properties --> Display --> Show all rows/columns, but it is not working when
i am using Cross Tab format for the same data.
Regards
RamHi Sunil,
Happy to see your solution. My requirement is that if you have a data like
SBU, Cadre, Value
Chemical Buss, Manger, 45
Crop Buss, Workmen, 63
Agri Buss, Executive, 70
Chemical Buss, Executive, 84
Agri Buss, Workmen, -
Crop Buss, -, -
So now we need to get the rows or columns that are having blank values. Say like if Crop Buss is not having any values so it wont be displayed, but actually it has to be displayed.
Regrads
Ram -
SORTING FOR THE CALCULATION FIELD IN CROSS TAB REPORT
LIST_G_AUCTION_TITLE>
<G_AUCTION_TITLE>
<BID_NUMBER>5002</BID_NUMBER>
<AUCTION_TITLE>E2E-01 Construction RFQ</AUCTION_TITLE>
<ITEM_NUMBER>C2631</ITEM_NUMBER>
<ITEM_DESCRIPTION>4G000,000,0STRUC,X,SPECIAL STRUCTURE</ITEM_DESCRIPTION>
<ESTIMATED_QTY>1</ESTIMATED_QTY>
<UNIT>LS</UNIT>
<QUOTE_PRICE>400</QUOTE_PRICE>
<ESTIMATED_QUOTE_PRICE>400</ESTIMATED_QUOTE_PRICE>
<SUPPLIER>X - L CONTRACTING</SUPPLIER>
my xml data is in this format, i created a cross tab report for ITEM_DESCRIPTION as row and SUPPLIER as column and calculated a sum(ESTIMATED_QUOTE_PRICE)
for all the ITEM_DESCRIPTION for every SUPPLIER in templete . now i need to sort the data by sum(ESTIMATED_QUOTE_PRICE) from lowest to higest from left to right , that is supplier with lowest sum(ESTIMATED_QUOTE_PRICE) should display first from left to right.
can any one help thanks in advance.thank you tim , for asking i got the solution. it is actually in template builder i was asking about. xml template builder
-
Can we apply sorting on Column values in Cross tab??
Can we apply sorting on Column values in Cross tab??
Following is the scenario with me.
I have 2 fields and one formula.
Fields are HostName and Username.
Formula is status which categorizes the Authorized and Unauthorized events.
And in the Summary Field, I am calculating the total number of events.
In cross tab, Fields are marking the Rows of the cross tab and Formula is making the Columns(Authorized and Unauthorized ) of the cross tab.
Since in cross tab data is grouped from left to right and sorted by default. I want to remove this default sorting and want to put sorting on the formula for Unauthorized events.
Is there any way to fulfill this requirement?Hi,
You can assign a number to each Unauthorised field e.g
Rank Unauthorised
1 A
2 BC
3 DF
5 TD
6 GF
Then add "Rank" to the crostab Columns before the Unauthorised field. Then you can control the sorting order on your crosstab.
Hope this helps
Regards
Dotun -
How can I avoid the null values in cross tab?
How can I avoid the null values in cross tab?
Hello Anindita,
Let me explain you the problem in detail.
I have selected User and Program as rows in the cross tab. In Summarized Field I am counting the Programs.
In DB I can have both User and Program null.
Letu2019s take these scenarios...
1) For a User, Program can be null
2) For a Program, User can be null
3) And both can be null.
A null Program does not give problem since Cross tab does not count the null values and in my case too, it remove the Program which are null from the Cross tab because of the counting its doing on Program. Hence scenario 1 and 3 is not a Problem.
Problem comes in scenario 2 (For a Program, User can be null).
In this case since Program is not null it will get counted and will be grouped under null user but I donu2019t want to show the null user Grouping in my cross tab.
"Suppress empty rows" and "suppress empty colums" does not help.
Thanks & Regards,
Amrita -
CR 2011 - calculated member in cross tab
Hello,
I have created a cross tab in my report and added a calculated member. I have created a formula for all my rows because by default the value of the calculated member was "0". Now I wanted to add a new row to my report. The value in the calculated member now is not "0" but empty. How can I access the formula workshop now?
Can anybody help?
Thanks and regards,
Juleif you right click on the cross-tab > go to Advanced Calculations > Calculated Member > click on the one that you want to edit and press the Edit Value Formula button
cheers,
jamie -
Help on conditionally Formatting Field in a Cross Tab
Hi all,
I like to conditionally format a number field in a cross tab, ie. on a certain column the number should show 2 decimal places, otherwise no decimal places. I have tried a formula in the Decimals of the Format Field, If {Command.COL_TITLE}= "G"
Then
2
else
0.
Column G is the one that is to display the number in 2 decimal places. The formula runs, but it never {Command.COL_TITLE}= "G" is never true, ever. COL_TITLE is the columns of the Cross Tab.
Any ideas ?
Thanks
AustinAustin,
If you are trying to format a column then try using the GridRowColumn function.
In the Customize Style tab highlight the column field and check what the alias for formula is. Then format the decimal places for the summarized field with a formula similar to the following;
If GridRowColumn("Alias for formula value") = "G" then 2 else 0 -
Carry forward of variable value in cross-tab charts
Hi Experts,
I have a cross-tab which calculates the inventory of items (based on count). For a particular date range (quarterly here), if i have to generate the cross-tab, i set the inventory count to zero for the first quarter, and from the next quarter, i add to the inventory count, the new inventory items. At the end of each quarter this value gets accumulated and gets carried forward to the next quarter. From the next quarter, it just is the sum of count of the new items. Now, i have this cross-tab calculate the values at WhilePrintingRecords evaluation time.
When i have created a chart out of this cross-tab, the chart doesnt reflect the values that are observed in cross-tab.
Is there any way i can get these calculated values to get reflected on the chart?
Your help is greatly appreciated.
Thanks,
Roshan.Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly
-
How to copy values from 1 st row to 2 nd row in cross tab report?
thanksJaya,
try the following;
If the row totals are on top right click on one of the totals > format field > In the conditional suppression formula enter;
numbervar x:= 0;
false
In the conditional suppression formula of the summary values enter;
numbervar x;
x:= x + 1;
if x = 1 then g:= currentfieldvalue;
false
In the Display string formula of the summary values enter;
currencyvar g;
totext (g)
Note, change the variable type to numbervar if your crosstab isn't summarizing currency.
Edited by: Graham Cunningham on May 26, 2009 2:19 PM -
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. -
Calculated members in cross tab
Hi all,
I have a profit and losses in a cross tab created by a group and I need to add some rows to have the totals.
For example
Revenue 1
Revenue 2
Revenue 3
Total Revenue
Cost 1
Cost 2
Total Costs
For total revenue I used a calculated members with that formula:
GridValueAt(GetRowPathIndexOf("Revenue 1"), CurrentColumnIndex, CurrentSummaryIndex)
+ GridValueAt(GetRowPathIndexOf("Revenue 2"), CurrentColumnIndex, CurrentSummaryIndex)
+ GridValueAt(GetRowPathIndexOf("Revenue 3"), CurrentColumnIndex, CurrentSummaryIndex)
but the problem is that if I haven't for example any data for revenue 2 an error occurs -->argument # 1of "gridvalueat" is out of range.
It's possible to check if the argument exist??
thankshi alessandro,
i just found your forum post in the unanswered list...hopefully you've already found the answer for this.
GetRowPathIndexOf is looking for the text in a specific cell and not the actuall Row or Column Name.
When it doesn't find it, its output is -1...so you can use that in your formula to ensure that it doesn't break.
for example, if you have a cross-tab that looks like
Canada 1006
USA 5555
Mexico 2331
GetRowPathIndexOf("Mexico") = 2 (as the index starts at 0 for Canada)
GetRowPathIndexOf("Brazil") = -1
hope this helps,
jamie -
To highlight top 3 summary values in cross tab
Crystal report XIR2
cross tab
how to highlight top 3 column/row values with a different font colorHi Phani,
I don't see a way to do this in CR XI R2. If at all there is a way, then it has to done via a Mock Crosstab.
-Abhilash -
Suppress values in Cross-Tab and Cross-Tab Chart if null
I am developing a cross-tab report that has no-values contributing to the summary in a number of cells. For instance, if I were to display the average value for the testing of particle-counts by the day of the month, and no testing was performed on a particular day, then I would hope that the cell would be blank and a plot of the cross-tab would just omit that data point. However, Crystal interprets this as a 0.00 instead of NULL, and the plot (incorrectly) includes the zero-datapoint.
I can suppress the datapoint in the cross-tab if it's zero, but that isn't correct either (as, sometimes, zero will be the correct answer). Even then, though, I cannot suppress the datapoint on the plot.
Anyone have experience with a workaround for this?
Thanks - TimBTW...I found that I can work-around the plotting issue if I convert the chart to a "Group" type (instead of cross-tab). It will then ignore the null-values. Still thinking about cross-tab displaying zero for a summary value when it is working with no data.
Suggestions? -
Show percentage based on summary values in cross-tab
I am using Crystal XI. I have a cross-tab that has actual hours and standard hours as the summary fields. The column is operation and the row is clock#. I need an additional column that shows an efficiency percent. It would be the sum of standard hours divided by the sum of actual hours times 100. Is there a way to do this? I tried inserting a formula while in cross-tab expert but it does not seem to have the summary fields available to choose.
I will check out the example suggested.
Maybe you are looking for
-
Edit the payment total in text field on PLD
Hello Everybody, Does anybody know any way to edit the text which appears on document layouts and says the payment total amount in text format? This is system variable (125) originally, but we want to re-edit this text. Is there any way for that? Tha
-
Can you replace the battery in these units?
Can you replace the battery?
-
SAP defined process maps on SCM
I need SAP business and process maps on following areas for discrete and process industry. 1. Order Management process ( Procurement) 2. Warehouse management 3. Transportaion management 4. Demand planning 5. Inventory planning. Please inform me the
-
Hi guys, i loaded this query (i modified from the original) into the dataprovider of the WAD (copied from the original template with the original query) and when executing it in the browser i am getting this error system error in program CL_RSR_WWW_I
-
Have anybody faced with an issue, when "newfs" hangs when file system is being created on the "lofiadm" device? Unfortunately, I'm facing it quite often recently and have no idea, why it can occur - from 2 similar attempts, the first succeeds, while