Show values as percentages of first value in series
I have a tricky problem I've tried to figure a way to do in OBIEE and I'm currently stumped.
I have data that generally decays over time, but has vastly different starting values. I need to be able to show the data as percentages of the starting value, so that I can compare the various streams on an equal basis.
Here is the data I have (a small sample)
1492 1470 1369 1264 1141 1037
1190 1162 1067 972 842 723
266 265 259 250 238 226
What I want it to look like this:
100% 99% 92% 85% 76% 70%
100% 98% 90% 82% 71% 61%
100% 100% 97% 94% 89% 85%
This is fairly easy to do with the data in Excel, but I really need the ability for the whole thing to work in OBIEE.
I tried creating a view that only has the numbers in the first column, but I can find no way to then have a subsequent report match and then calculate the percentages.
Can this be done in OBIEE? Any Ideas?
Thanks,
Dave
Thanks, but my numbers are from an aggregate already (count) so I can't combine a first in the same function with a count.
Any other ideas?
Thanks,
Dave
Similar Messages
-
I want to build/append to an array. Let's say the length is defined at 10 elements. When the 11th element comes in I want the first element to be kicked out so that the array always has the most recent 10 elements in it in order. the arrays should look like this:
{0,1,2,3,4,5,6,7,8,9}
{1,2,3,4,5,6,7,8,9,10}
{2,3,4,5,6,7,8,9,10,11}
etc.
Any help is greatly appreciated. Thanks
Solved!
Go to Solution.Here's a revised VI, except I'm using LV8.5 and the lowest I can save down to is 8 so perhaps someone will be kind enough to convert this?
Attached an image too
Message Edited by Sima on 01-13-2009 06:14 PM
Attachments:
rotatearray[1].vi 14 KB
rotatearray[1].JPG 66 KB -
SelectOneChoice - showing the first value as the default?
Using a selectOneChoice, how do you get the first value to show in the form as the default? It always displays a blank item when the form first comes up. I don't want the user to have to select a value for the defaults. I have 'selection required' on.
--------- .jspx page ------------
<af:selectOneChoice value="#{bindings.View1country.inputValue}".....>
<f:selectItems value="#{bindings.View1country.items}"/>
</af:selectOneChoice>
-------- pagedef xml ---------------
<list id="View1country" IterBinding="View1Iterator"
ListOperMode="0" StaticList="true">
<AttrNames>
<Item Value="country"/>
</AttrNames>
<ValueList>
<Item Value="United States"/>
<Item Value="Canada"/>
</ValueList>
</list>thanks - I am using ADF BC read-only view objects, but I don't see anywhere to define the selection on the VO properties? I defined the list on the front-end .jspx page by adding a selectOneChoice and defining its properties.
-
WAD: show value and percentage inside bar
Hi!
I've created a stacked columns chart and now I want to display the values in the bar. Problem: I can only show one value, e.g. 15.000$. But I would like to see 15000$ and the percentage of this value, e.g. 25% (both inside of the same bar).
Is there a possibility to do that?
thanx, gunterhi
check the properties of Webtemplate for Graph.
in that columns values can change,and over thr make sure that automatic for all values,initially it has the userdefined option amnd change it into automatic and i thk you can find the categories options to do.try with this
mahesh -
LabVIEW control which shows value in percentage
Hello
I am want to know about LabVIEW control which shows the values in percentege. Actuly I am using wait(ms) function and as a input i m using control but the problem is that i want values in percentage..
Thank YouThank u once again for your reply
I m explaing my problem brifly. I am attached a screenshot of my blockdiagram.
In the diagram i used str_1 for turned on LED let say for 10 msec and in str_2 i am mesuring voltage at 5 msec. so when LED is on for 10msec then exectly at 5 msec i mesure voltage.
Now the problem is i want to change in str_2 for constant 5 msec to control(in percentage) in wait function.
If i give lets say 10 msec input to wait function in str_1 & in str_2 i give 70% then input of wait function is 7 msec
if i give 20 msec input to wait function in str_1 & in str_2 60% then input of wait function has to be 12 msec..
I try to explain my problem though i know its diffcult to understand for someone else.. Hoping for your reply
thank you
Attachments:
screenshot.jpg 672 KB -
Assessable Value and Wrong Value in SEcess in first row in J1IS
Hi,
This is a scenario of Vendor Return when we are returning multiple excisable materials to Vendor.
I have created Return Delivery using movement type in MIGO with choosing the option Part 1 only.
In J1IS,
The First problem is the assessable value which is coming wrongly as 111.11 whereas the gross value of the material is Rs. 100 only with Excise Duty 10% BED, 2% ECess and 1% SEcess & 2% CST.
The second problem is
The duty values are showing correct in the screen e.g., BED 10, ECS 0.2 and AT1 0.1 (according to gross value 100, 10% BED, 2% ECess and 1% SEcess )
There are total five items with the same gross value and other duties (gross value 100, 10% BED, 2% ECess and 1% SEcess)
But as soon as the transaction is saved, the AT1 value against first row changes wrongly from 0.1 to 0.6 and the same is flowing to the table.
Can any one provide some idea to resolve this?
Thanks in advanceHi,
Please check my previous reply on this "Get Excise Invoice" problem thro' the link provided below.
Re: J1IS: u2018Get Excise invoiceu2019 not showing any values
Regards,
Siva -
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 -
Display only first value of the repeated values in ALV report
Hi,
Test Data
Doc No Net Val billing Doc value Qty
1000 2000.00 567850.00
1000 2000.00 567850.00
1000 2000.00 567850.00
2000 6000.00 767850.00
In this type of ALV Report in which only the First field value of the repeated value should be displayed.
Doc No Net Val billing Doc value Qty
1000 2000.00 567850.00
2000 6000.00 767850.00
I can display document value as like expected result in SORT ORDER in LAYOUT but the Quantity value,Net value which cannot be done in SORT ORDER in LAYOUT.
Please tell me the suitable solution.For a Sales Order there are two Invoice.
Sales doc Invoice No Billed Qty Net value Qtywith material no
5000 900 234774.00 456.00000 65 123
234774.00 456.00000 25 456
234774.00 456.00000 35 898
234774.00 456.00000 20 496
901 634774.00 256.00000 50 746
634774.00 256.00000 10 456
634774.00 256.00000 20 545
634774.00 256.00000 30 869
I need to print this billed Qty and Net value only once in first line and it should not be deleted.
I need the result like this
Sales doc Invoice No Billed Qty Net value Qtywith material no
5000 900 234774.00 456.00000 65 123
25 456
35 898
20 496
5001 901 634774.00 256.00000 50 746
10 456
20 545
30 869
The same value should not be repeated for Billed Qty and Net Value.
I can do that for Sales doc in sort order in layout but i couldn't do for Billed qty and Net Value.
Please help. -
Disadvantages of using "0" zero as first value in a generated sequence
Does anyone have any experience with the benefits/disadvantages of using a value of 0 "zero" as the first value generated in a sequence that is also populated in a table. My past experience has always used the values of 1 "one" as the first generated value from a sequence.
ThanksBenefit: You get use one "more" number from the list of values that can possibly be generated by the sequence. If you are start from '1', you have missed out on '0' :-)
Disadvantages: If any of the queries have predicate like "sequence_generated_column_value > 0" and that your sequence starts from zero, the record with sequence_generated_column_value=0 will not appear in result set for that query (assuming it satisfies other conditions).
May be there are many mores benefits/disadvantages to add to this list :-) -
Modeling Question: Last Item value and First Value
Dear all,
I have the data coming in the following format:
Data Source:
HEAD1 1 21.01.2005
2 21.01.2005
3 21.01.2005
4 21.01.2005
5 23.01.2005
6 21.01.2005
7 21.01.2005
8 21.01.2005
9 21.01.2005
10 25.01.2005 * ( I need this last Value)
HEAD2 1 26.01.2005 * ( I need 1st Value)
2 28.01.2005
3 28.01.2005
4 28.01.2005
5 28.01.2005 * (I need this last value)
HEAD2 1 29.01.2005 * (I need this 1st Value in the report)
2 30.01.2005
3 30.01.2005 * ( I need this last value in the report)
And I want in reporting as:
Reporting:
0) 00.00.0000 21.01.2005
1) 25.01.2005 26.01.2005
2) 28.01.2005 29.01.2005
3) 30.01.2005 00.00.0000
What can be my options?
I am not interested to use ABAP logic..
Is any last and first value aggregations can be helpfull??
Thanks for your time..
Regards,
HariHi Aborgeld,
you can remove headers after writing the csv by using Get-Content $file | Select -skip 1 | Set-Content $file.
If null values are a problem for your SQL, this may work for you in your Select-Object call:
# Service Pack Filter-hash
$spf = @{
n = "osServicePack"
e = {
if ($_.osServicePack) { $_.osServicePack }
else { " " }
# Using it later in Select
Select-Object Name, lastLogonTimestamp, OSName, ParentContainerDN, osversion, $spf
Cheers,
Fred
There's no place like 127.0.0.1 -
Compare two columns and match ALL recurring values, not just the first instance
Hi everybody...
I was looking for a way to compare values in two columns, identifying every duplicate value instance on a third column.
Searching around the forums, I found a solution, albeit a partial one; I am using this formula: =IFERROR("Duplicate in row "&MATCH($A,$B,0),"") along column C, to compare values between columns A and B. When applied, the formula will render the first instance where there is a duplicate; unfortunately MATCH will only register the first instance of the duplicated values.
For example:
The first value on column A is 'Apple'. On column B there are three instances for the value 'Apple', the formula identifies the first of these values, but not the remaining two.
I am not an advanced Numbers or Excel user, and the answer to this problem eludes me. I am attempting to compare columns that have no less than 1000 rows each, so you can imagine how, finding a solution to my problem would be really great.
Thanks in advance,
PabloUnfortunately I can't see your screenshot, but supposing you have a table like this:
Col1
Col2
1
3
Dupe
2
4
Dupe
3
5
Dupe
4
6
5
7
Then here is one way to flag the duplicates.
The formula in C2, copied down, is:
=IF(COUNTIF($A,$B2)≥1,"Dupe","")
Then filter on column C for 'Dupe', and copy the values in column B to wherever you need them.
SG -
Report suddenly showing ORA-20001: Error fetching column value: ORA-06502:
Hi,
Some reports in my applications are suddenly showing:
ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
instead iof the data they used to show.
In my development system I can fix this by:
1. changing the column alias in my sql
select 'a' alias1 from dual becomes
select 'a' alias2 from dual
2. SAVE CHANGES
3. change column alias back to original
select 'a' alias2 from dual becomes
select 'a' alias1 from dual
4. reorder columns back to original in the 'report attributes' tab
alias1 is now at the bottom of my colum list - i just bounce it up to column 4 using the up arrows
5. SAVE CHANGES
then everything starts working OK again.
There seems to be nothing wrong with my sql as I can make it works on a new page or after I run the above steps, so I guess something is breaking somewhere but I cannot work out what.
Has anyone else seen this? Does anyone know the cause? Does anyone have a fix for this that does not involve the above steps (plus redeployment to prodcution and all the work that involves)?
I am seeing this on version 2.3 and 3.0.
Thanks,
MartinHi Scott,
I think this is want you want (sorry it's not easy to read):
wp.suite_id - Database Column NUMBER - Report Column Based on LOV
wp.project_id - Database Column NUMBER - Report Column Based on LOV
wp.application_order wp_order - Database Column NUMBER - Report Column Standard
lpad(wp.work_package_id,5,'0')||' - '||wp.name wp_name - Database Column NUMBER/VARCHAR2 - Report Column Standard
pt.application_order pt_order - Database Column NUMBER - Report Column Standard
pt.name pt_name - Database Column VARCHAR2 - Report Column Standard
substr(pt.description,1,30) description - Database Column VARCHAR2 - Report Column Standard
pt.application_tier - Database Column VARCHAR2 - Report Column Based on LOV
pt.application_method - Database Column VARCHAR2 - Report Column Based on LOV
pt.TECH_LEAD_ID - Database Column NUMBER - Report Column Based on LOV
This report has no link columns and no derived columns.
Regards,
Martin -
Value Help Not Working and Values Not Showing in BPS0
I have custom characteristics transported from a BW 3.5 system to a NW2004s. I have maintained master data and activated master data. When I try to do the value help selection from inside maintain, I don't see the characteristic values. In BPS0 the values are not registering and the variables are failing cause they say there are no master data values. How to resolve?
Thanks,
CherieI also noted the anomaly only occurs with custom characteristics, transported from a 3.5 system to a NW 2004s system and have NO attributes assigned to the characteristic. Those custom ones that have attributes show up fine.
-
In edit mode in gridview everytime ihave to select dropdownlist otherwise its store first value
<asp:GridViewID="GVTrouserJobWork"runat="server"
AutoGenerateColumns="False"CssClass="Gridview"HeaderStyle-BackColor="#4B6D9D
"DataKeyNames="TrouserJobID"
OnRowCancelingEdit="GVTrouserJobWork_RowCancelingEdit"OnRowDeleting="GVTrouserJobWork_RowDeleting"
OnRowEditing="GVTrouserJobWork_RowEditing"OnRowUpdating="GVTrouserJobWork_RowUpdating">
<Columns>
<asp:TemplateFieldHeaderText="StyleNo"
<asp:LabelID="lblStyleNo"runat="server"Text='<%#Eval("StyleNo")
%>'/>
<asp:DropDownList Width="60px" DataSource='<%# GetStyleNo() %>' DataTextField="StyleNo"
DataValueField="StyleNo" ID="StyleNo"
runat="server">
</asp:DropDownList>
</EditItemTemplate>
<ItemTemplate>
<asp:LabelID="lblStyleNo1"runat="server"Text='<%#Eval("StyleNo")
%>'/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
public
DataSetGetStyleNo() {
SqlConnectionmyConnection =
newSqlConnection(ConfigurationManager.ConnectionStrings["constring"].ToString());
SqlCommandcmd =
newSqlCommand();
cmd.Connection = con;
cmd.CommandText =
"StleMasterList";
cmd.CommandType =
CommandType.StoredProcedure;
SqlDataAdapterad =
newSqlDataAdapter("StleMasterList",
myConnection);
//SelectDDCompanyName
DataSetds =
newDataSet();
ad.Fill(ds,
"StleMasterList");
return
ds;
StleMasterList = Select StyleNo from Stylemaster
protectedvoid
GVTrouserJobWork_RowUpdating(objectsender,
GridViewUpdateEventArgse)
intTrouserOrderID =
Convert.ToInt32(GVTrouserOrderDetail.DataKeys[e.RowIndex].Value.ToString());
DropDownListStyleNo = (DropDownList)GVTrouserOrderDetail.Rows[e.RowIndex].FindControl("StyleNo");
SqlCommandcmd =
newSqlCommand("update
TrouserOrders set StyleNo='"+
StyleNo.SelectedValue.ToString() + "'where
TrouserOrderID="+ TrouserOrderID, con);
cmd.ExecuteNonQuery();
con.Close();
lblresult.ForeColor =Color.Green;
lblresult.Text = " Details Updated successfully";
GVTrouserOrderDetail.EditIndex = -1;
BindTrouserOrderDetails();
Actually I get dropdown in editmode but when without selecting dropdownlist if I update it it select first value of dropdown list.
if have two dropdownlist in gridview and I want to update only one I cant do this every time I have to select both
dropdownlist .Hello Fresherss,
I think the ASP.NET forum will be more suitable for this thread:
http://forums.asp.net/
There are ASP.NET experts who will help you better.
Regards.
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.
Maybe you are looking for
-
How to connect a mac wirelessly to a pc?
My husband's pc is currently hooked up to the internet using a cable modem. I'd like to wirelessly connect my G4 imac but can't seem to figure out how to do that. Does his computer need a router and mine needs an airport card? Thanks for any suggesti
-
Creating parameters dynamically and calling a procedure but strange issue
Okay I have the following program that is calling a procedure(data_compare_utility)[pasted below] and data_compare_table_setup table definition and data(isert scripts) are pasted below : DECLARE --FP_OLD_TABLE VARCHAR2(200); --FP_NEW_TABLE VARCHAR2(2
-
This is my last shot at getting Aperture 3 to work for me. Despite the good efforts and advice of folks here in the Community, and conversations with Apple, I can't get the **** thing to work correctly with Photoshop. Or, I am not using it correctly.
-
With reference to this thread is Dataguard and standby dbs is HA RAC and DATAGAURD are two different approches for high availability and desaster recovery. We are planning to implememt RAC and DATAGAURD but there are budget issues also. With RAC As i
-
I've run into a very strange problem. I'm developing an app using SQLExpress using VC 2010. I also have SQL Management Studio installed. If I add information to the db with the application I am writing it shows up in vc2010 but not SQL Management Stu