Display value and percentage of row in pivot table w/o double counting...
Hello,
I am wondering how/if one can show a metric value and the row percentage it represents without double counting. So far, I have attempted to duplicate the metric value layer, move the duplicated layer in the measures section of the pivot table next to the original layer (i.e. I have the value twice in the measure section), and set the format of the duplicated layer to "show data as > percent > row".
This makes the trick in terms of the data I see in the table; however, the values displayed in the table are double counted in the chart. I guess this makes sense since I have duplicated the metric value.
Any thoughts on how I could tackle this issue differently?
Thanks,
JP
You can do all that in the Pivot Table... Go to the measure properties and Duplicate Layer...than Show as...
Dont need to duplicate the criteria...
Antonio
BExpert Brazil
Similar Messages
-
How to calculate value from perticular column and row in pivot table
Hi all,
I am having following pivot table.
Country
A
B
C
D
F
G
H
J
K
L
M
Grand Total
Canada
1
1
3
3
12
14
13
97
China
8
4
3
19
India
2
47
448
176
395
3656
1964
1360
8077
USA
1545
352
380
26
10
4
8
32
2054
1023
758
4624
UK
12
19
13
23
33
298
Grand Total
1545
352
381
29
72
474
184
427
5743
3028
2167
13114
Now I want sum of Columns A, B, C, K, M where Country = India in one field.
and sum of D, F, g in another field. and sum of remainig columns in another field.
How can i get sum of values with some where condition in pivot table.
Thanks,Hi Michael,
Following is the representation which i want
CouRntry
ROW LABLES
A
B
C
Total of
ABC
F
G
Total
Of FG
J
K
L
TOTAL
of JL
Grand
Total
Canada
1
1
3
3
12
14
13
97
China
8
4
3
19
India
2
47
448
176
395
3656
1964
1360
8077
USA
1545
352
380
26
10
4
8
32
2054
1023
758
4624
UK
12
19
13
23
33
298
Grand Total
1545
352
381
29
72
474
184
427
5743
3028
2167
1
Also if i get sum how can i add a column in between of the fields.
Thanks -
Display value and description of one field in alv grid
Hi Folks,
I want to display value and description of one field as one column in alv grid.
for example iam having Xfield = 01,02,03.
and 01 iam having text value as xxx,
01 xxx
02 yyy
03 zzz
Im report display the values are displaying as 01,02,03..
but i want to display it as 01 xxx,02 yyy, 03 zzz.
Please do needful.
Thx.Hi, swetha
You can do this with "concatenate".
example:
In you code check where you final internal table is getting filled up before that do this concatenate and then append it.
data t_text type string.
t_text = textfield
CONCATENATE 'Xfield'
t_text
INTO wa_workarea SEPARATED BY space.
cheers,
Bhavana -
How to create a display value and a return value for an item
Hi! I have an item on a form. I want the default value for my item to be :":APP_USER", but the return value, to be the id of my user. I tried to create a PL/SQL Expression for the default item, but it doesn't work. What do I miss?
It should be something like this, but it's not.
begin
select first_name || ',' ||last_name as "Employee",
id_employee -- display value,return value
from employees
where id_employee = :APP_USER;
end;
Does anyone know?
Thanks!
VitalyHi VItaly,
Display value and return value concept applies very well in case of a Combo box if i am correct, I don't know what type of item is your's.
But any way, you can have a workaround like,
Create a hidden item such that it's default value should be ID of the user which can be get from db by using :APP_USER.
Use the this item for your references.
I think this will meet your requirement.
Thanks
Kumaraswamy. -
Pie chart legend should display values and percents
Hi All,
Can any body suggest me how to display values and percent in pie chart legend.Thanks in advance.
Edited by: 997414 on Apr 1, 2013 11:25 PMHi,
I used this tag : <SliceLabel textType="LD_TEXT_PERCENT"/>
My full graph;
chart:
<Graph depthAngle="50" depthRadius="8" pieDepth="30" pieTilt="20" seriesEffect="SE_AUTO_GRADIENT" graphType="PIE"><LegendArea visible="false" automaticPlacement="AP_NEVER" position="LAP_BOTTOM" /><LocalGridData colCount="1" rowCount="{count(.//DSYATIRIMDAGILIMANA_ROW)}"><RowLabels><xsl:for-each select=".//DSYATIRIMDAGILIMANA_ROW" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><Label><xsl:value-of select="RAPORAD" /></Label></xsl:for-each></RowLabels><DataValues><xsl:for-each select=".//DSYATIRIMDAGILIMANA_ROW" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><RowData><Cell><xsl:value-of select="ORAN" /></Cell></RowData></xsl:for-each></DataValues></LocalGridData>
<SliceLabel textType="LD_TEXT_PERCENT"/>
</Graph>
I hope, It helps you since I figure it out in very very hard way.
This is the main reference : http://www.oracle.com/technetwork/middleware/reports/graph-dtd-technote-2-094743.html -
How to display values and new char line (blank line)
Hi,
In database, one field contains values followed by new character lines (blank lines) after blank lines there is no values. Finally, I would say the field contains values and blank lines. Every thing is fine in database.
In Crystal Reports the field is displaying only values. Need to display values and blank line.
User is asking after values new character lines (blank line) to be shown. They enter like that in an application. The user doubt is why report is not showing what they enter in the application.
In detail explanation, front end tool is ASP.NET and backend is SQL Server.
User enter some values in note field, after that they hit enter button in the same field, cursor will go next line...user may hit u2018enter buttonu2019 more than 5 times. So note field contain values and some blank lines which are created by after hitting enter button.
If user opens the application, they could see values plus blank lines in the note field.
They are fine with the application.
In Crystal Reports, the note field shows only values.
User is questioning that why we could not see in report we enter.
I checked in .Net application and SQL server database it is fine. It is displaying values and blank line.
Please help me out how to display values followed by blank lines in Crystal Reports - the way they enter in the application.
Thanks and Regards,
Manjunath N. JoginHi,
Sharonmat,
I tried as you suggested. It is still displaying only values.
I would like to explain again.
it is not exactly null values.
In .Net application it is called 'new char line'.
it shows those many lines look like null.
it is working fine in database.
Why it is not working in Crystal Reports? I am wondering...
Thanks for your suggestion.
Debi,
User may enter any number of blank lines or they may not enter blank lines.
That is the reason I can not always give more height or blank text object.
Thanks for your suggestion.
Please suggest me some more suggestions,
Thanks and Regards,
Manjunath N. Jogin -
Pie chart value and percentage
is it possible to show both value and percentage when holding mouse cursor over the pie chart?
I find there is no option for it.
thank you very much!hi,
Your requirement is to show the legends and data values at a time (when mouse rollover the pie chart)
Chart View -->Select the Graph as PIE then the Advance properties is enabled
In Advance Properties ( Start symbol ) click on that you will get chart type special and select show the labels and label values. Let me know if this is not the solution
Thanks,
Saichand.V
Edited by: saichand on Jul 7, 2009 10:46 AM
Edited by: saichand on Jul 7, 2009 10:48 AM -
Multilevel base value and percentage
hi,
in AFAMS, there are columns like base value and percentage. i need to clarify the below. hope can get advice.
1) say base value is 01 (acquisition value), year = 8 and percentage 5.
in this case, meaning the depreciation cost is 5% out of the total acquisition value for the first 8 years?
say acquisition value is 50,000. so 5% X 50000 for the first 8 years?
2) mostly multilevel for reducing balance method right? straight line hardly got multilevel. correct?
thanks
rgdsHi
1. Yes, as per your example, it will be 5% x 50,000 for first 8 yrs.
2. This is not necessary, but most common.
Regards
Zubin -
How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working 10g
Hi,
How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working in obiee10g version.
We have tried below methods
1) criteria tab and edit the ‘column properties’ associated with your fact measure. Choose the ‘Data Format’ tab, tick to override the default format and choose ‘Custom’.
It seems that the syntax for this custom format is positive-value-mask (semi colon) negative-value-mask (semi colon) null-mask. So this means we have a few options.
E.g. if you want zeros (0) instead of null then enter:
#,##0;-#,##0;0
2) in that formula columns we have put it below case condition also ,
Measure Column: Nom_amt --> edit formulas
CASE WHEN Nom_amt IS NULL THEN 0 ELSE Nom_amt END
3) we have uncheked IS NULL check box in the admin tool also
I tried above formats still it's not working for me..kindly help me on this..
thanks to do the needfull
Best Regards,
R.DevarasuHi,
Null value in database displaying as 0 in report, I need to keep value as in database, and I have one calculated row which is based on null values should also null in report.
but it showing 0 for null values also so, my calculated row showing wrong result.
my report is like
col1 col2
ABC 0
BCD 12
DEF -12 --this is calculated row.
I require result like:
col1 col2
ABC null
BCD 12
DEF null --this is calculated row.
Please let me know how I can achieve this.
Thanks,
Rahul -
Rows in Pivot Table of answers
Hi Gurus,
I want to show row in pivot table from count of some values in perticular column and also want to show row as pivot table some values in perticular column
Suppose we have values a,b,a,c in column i want to show 2(that is count of a) in below of this column
Please suggest me is this possible?
Thnaks in advanceCol1 | Col2 | Col3 | Col4 | Col5 | Col6 | Col7|col8
abc | kafj | 4 | 4 | True | jdj | 2 | 2
bcd | asfj | 4 | 4 | True | sfa | 4 | 4
asd | asda | 1 | 1 | False | sda | 2 | 2
cde | Iruei | 5 | 5 | False | sdfs | 1 | 1
Count| 4 | True | 2 |True | 50% | True|66.67%
|Req | |Req% | | Rate|
On True | 6 | Total | 9
Count | | Count|
Hi venkat,
I want to display the following pattern of output.
In the above table format
Count 4 is the count of total number lines in col2.
True Req count 2 is the count of true lines in the column 5.
True Req% 50% is col2/col5.
On True Count is the count of (2+4 in col7) when condition is True.
Total Count is the count of all (in col7).
How to calculate these types of calculations in the answes.
Could u please suggest me the solution.
Thanks in Advance, -
How to Replace Null Value as 0 in an OBIEE11g Pivot Table?
Hi,
How to Replace Null Value as 0 in an OBIEE11g Pivot Table? it's working in obiee10g version.
We have tried below methods
1) criteria tab and edit the ‘column properties’ associated with your fact measure. Choose the ‘Data Format’ tab, tick to override the default format and choose ‘Custom’.
It seems that the syntax for this custom format is positive-value-mask (semi colon) negative-value-mask (semi colon) null-mask. So this means we have a few options.
E.g. if you want zeros (0) instead of null then enter:
#,##0;-#,##0;0
2) in that formula columns we have put it below case condition also ,
Measure Column: Nom_amt --> edit formulas
CASE WHEN Nom_amt IS NULL THEN 0 ELSE Nom_amt END
3) we have uncheked IS NULL check box in the admin tool also
I tried above formats still it's not working for me..kindly help me on this..
thanks in advance...
Best Regards,
R.DevarasuHi Amith,
I have update your suggested one,but it's working few of the rows only..remainings rows some of cells still NULL only
Measure colmns is : Nom_SGD
IFNULL(Nom_SGD,0.00)
Movment : dynamic date calc by using $2-$1 oracle formula's
Actually i am doing below things only,
31/12/2011 31/03/2011 Movment
Country
India 100 -50 -150
Singapore 200 200
UK 1200 -1200
USA 0.00 0.00 0.00 (here changed null as 0)
Helpmeon this... -
Grand Total in Rows of Pivot Table
Hi,
How to display Grand total in rows of pivot table.
Thanks and Regards,
KiranHi,
Now i got your question.
No, its not possible to add aggregation for the measures.
Instead you need to create some two dummy dimension table and use them in the pivot table and hide them.
NOTE- We need to have two dummy dimension tables because then only summation symbol would come for the first dimension.
And so it will appear you are doing a summation on the measure column.
Regards
MuRam
NOTE: Please mention if this resolved your problem/still facing and close the thread. -
How to use custom label formats to display currency and percentage
Hi There,
I need a pie chart to display both currency and percentage. I have the cell format editor open for custom cell formats (from the pie chart label format menu) but am not sure how to write the expression.
I've tried something like this but get an error:
$ #,### - % #,###
How can I display both currency and percentage for the same label?
Any pointers in the right direction would be much appreciated.
Cheers
Benlabels built into Keynote can be displayed as percentage or value, not both
The choice is made in: Inspector > chart > series > data point settings
the work around is to manually add text boxes with the currancy value entered in each box, as in $2.00 -
QuickWatch windows does not display Value and Type.
The quick watch window is only displaying Name (screenshot below). It is not displaying Type
and Value fields. I tried "Reset All Settings", repair, uninstall/install but the issue is not resolved. I will appreciate any help.Hi ranjanks,
Could you share us a sample? So we could debug the same app in our side, please also tell us the VS version in your side.
For example, just a simple console app with a variable "int i", I could get it in my VS2013 version like the following screen shot. So if you debug a simple sample as mine, how about the result? If it works well, I doubt that it would be related
to the specific variable of your app.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
LOV problem ... returning display-value and not key-value
Hi. Sorry for my broken English.
I have a problem with pop-up dynamic LOV.
I have a simple form called Form A containing item_code and item_name. Users can create, update and delete new item by using this form.
Another form called Form B has a field called item_code, and the item_code field is a dynamic pop-up LOV field and a query for this LOV is like this;
select item_name d, item_code r from item_master order by item_code;
When i create the new record in Form B and use LOV to find and get the item code, LOV works fine
and it returns key-value to the item_code field.
But when i try to update the record (I have a link from report page to Form B), value of the item_code field is not the key-value from LOV, but is a
display-value from LOV.
Any ideas?
Thank you.Well, from what you have described, this is working exactly as it should. Form B's LOV is intended to retrun the key value but should show the dispaly value. When you go from the report to the form, the key value is being passed (or should be depending on your code) and Form B ought to show the display value.
So, in short, I would say that Apex is doing what it should. Unless I misunderstand something.
Bruce
Maybe you are looking for
-
Bug Report - DB toolkit returns error when calling the DefaultDatabase property with SQLite
There's an old bug in the DB toolkit where calling the DefaultDatabase property returns error -2147217887 if you're using certain DBs (such as SQLite or PostgreSQL and I believe MySQL as well). The problem is that this property is called by a VI whic
-
An error occurs while trying to delete an application
Hi everyone, I'm working with BPC 7.5 NW SP3. I faced a problem when I tried to delete an application. I got this error: "A dump occured on the ABAP stack". The same message appears when I try to delete an application set. Does anyone know how to sol
-
Another Strange Process mDNSResponderHEL
Here's a tough one - I noticed this process running only once for about a half hour last week - never seen it before and never seen it again since. It was a process I noticed in the Activity Monitor called: mDNSResponderHEL I've hunted high and low f
-
Quicktime will not show video in safari
hi since I loaded 10.5 I cannot see quicktime movies in Safari. I can here the sound. And I can save the movie to view it but it can not be seen in safari. thanks for any advice
-
Sticking objects to a background
I posted this message sometimes ogo to another newsgroup but is was probably to a right place. I am working on an application, in which some cities are placed on a map (background). These cities and their coordinates shall come from a data base. Ever