Impleamenting YOY trend for bar chart
Hi ,
We have a bar graph , where we are populating Revenue(measure) against year (dimension) .Now , we want to achieve a Year on year trend % in the bar chart . i.e ,
*(Current year value of revenue - Previous year value of revenue)/(Previous year value of revenue)* 100*
Is it possible by , using time series functions such as period rolling , to date or somthing else .
OBIEE version : 11.1.1.6.0
Essbase version : 11.1.2.1
Thanks
Hi,
By Using Ago function you can solve it.create time dimension then set add logical calc like below
For Example,
Previous year value of revenue
Ago("Sales"."Base Measures"." Revenue" , "Sales"."Time"."Year" , 1)
Current year value of revenue
Ago("Sales"."Base Measures"." Revenue" , "Sales"."Time"."Year" , 0)
then add one more logical column then
((Current year value of revenue - Previous year value of revenue)/(Previous year value of revenue)) then divid by 100
Refer Section, About the AGO Function
http://docs.oracle.com/cd/E23943_01/bi.1111/e10540/dimensions.htm#BABBEGHH
Thanks
Deva
Similar Messages
-
Are Multiple cfchartseries/seriescolor Values for Bar Chart Possible
Client wants their reporting bar charts adjusted to show
green bars when counts are better than 90%, yellow when better than
80% but less than 90% and red when below 80%. It is possible to
have multiple series color based upon count values?
<i>If not, I would recommend this as a future nice to
have capibility.</i>HI Smitha,
Then try this.
Create a formula. Inside Just use the Round function to round your Keyfigure.
Then use this formula to be displayed in the Chart Experts, Data Tab on the Show Value column.
Let me know if it works.
Regards,
Vinaya Paulraj. -
i want to influence the spacing between the bars.
and i will have to do over 30, so im looking to
do it with as much automatic work...
Illustrator Help | GraphsForget about automatic for any stuff related to Illustrator graphs.
I would try and prepare a template file with everything you need.
Then make copies and edit the numbers. -
Stacked Bar Chart - Values of the Bar
Hi,
I have a stacked bar chart with columns as "Project Name", Rows as "Stages", and measures as "Cost". I have different stages in the X axis and the Projects are stacked for each stages. When I scroll my mouse over the stacks it shows me the "Cost" of the project. Is there a way I can show both the "Project name" and the "Cost", when I roll my mouse over the stacks?
Thanks for your time and help.Hi ssk,
I assume its 10g and is this what your looking for http://obiee101.blogspot.com/2008/01/obiee-xy-and-data-in-mouse-over-label.html
UPDATED POST
It is the same procedure for bar charts...You need to play with it,never i had this requirement....give a try
Cheers,
KK
Edited by: Kranthi.K on Jun 27, 2011 8:40 PM -
Bar chart and pie chart in same screen at a time
hi experts,
I am trying to display the bar chart and pie chart in two separate containers in same screen .I wrote code for this in PBO of screen by using the function module GFW_PRES_SHOW , but it is showing one chart at a time which is lastly executed in the PBO.
I need to display two charts in two container at a time by calling the same function modules two times first time for bar chart second time for pie chart by changing the parameter
presentation_type = 1 for bar chart
presentation_type = 31 for pie chart.
please help me in this regard asap.
Thanks,
K.Rajesh.Hi..
Instead of using the FMs .. you should use the Object oriented approach for the same.
Brief steps:
You should have 2 control areas and 2 containers.
Define different instances of 2 controls and attach them to the 2 containers.
Call individual methods to display the controls in PBO.
This should show both at a time. It is really simple.
As an example you can go to SE38. From the (sap) menu go to Environment -> Examples -> Control Examples.
Here you will see lot of examples.
Regards,
Varun. -
Bar Chart Drill down getting "Insert in range overlaps with other series" # Error
Hi friends,
I am trying to drill down for Bar chart to Combination chart dashboard.
I have bar chart in region wise values are Revenue ,Net contribution,Total cost ,
So when i was binding for those values for one destination column could be same
in spreadsheet then its getting below error.
I tried formula for one destination to other columns
in spreadsheet also but that's not allowing to formula for binding destination .
Please kindly anybody help me out
Thank you
Sudhakar MHi Runali,
Sorry for late reply,the issue was not solved .
Got another issue in BI launch pad .
one Webi report migrated from R2 environment to BO 4.1.when open that report in BI launch pad
working perfect but when report was edit in the query level and run the all queries its asking context selection
If i selected all the context and run all the queries then again getting another issue.
Why its asking Query Context in Query prompt level?
Thank you
Sudhakar M -
Alternate way to Stacked Bar Chart
Hi All,
on HTML DB 2.0 we can make a stacked bar chart (this allows to have multiple series for bar charts).
But I am having HTML DB 1.5.
Is there any other way to create a stacked bar chart on 1.5 version?
Thanks in advance,
ManojHi Nilesh,
I do not believe that there is an out-of-the-box feature that would suffice your needs.
However, the work-around is relatively simple, although it needs a bit of coding.
If you are sourcing the image directly, the image could be refreshed using Javascript settimeout function. If you are sourcing the location of the image from an iCommand, you could use the update event of the applet.
Besides ... if everything was too easy, there would be no need for you and I
Cheers,
Jai. -
Stacked 100% bar chart - Problem with datatips for zero value data points
I have a stacked 100% bar chart that shows datatips in Flex 4. However, I don't want it to show datatips for
data points with zero values. Flex 4 shows the datatip for a zero value data point on the left side of a bar if the data point is not the first in the series.
Here's the code that illustrates this problem. Of particular concern is the July bar. Because of the zero value data point problem, it's not possible to see the datatip for "aaa".
Any ideas on how we can hide/remove the datatips for zero value data points ? Thanks.
<?xml version="1.0"?>
<s:Application
xmlns:fx="
http://ns.adobe.com/mxml/2009"xmlns:mx="
library://ns.adobe.com/flex/mx"xmlns:s="
library://ns.adobe.com/flex/spark"creationComplete="initApp()"
height="
1050" width="600">
<s:layout>
<s:VerticalLayout/>
</s:layout>
<fx:Script><![CDATA[
import mx.collections.ArrayCollection;[
Bindable]
private var yearlyData:ArrayCollection = new ArrayCollection([{month:
"Aug", a:1, b:10, c:1, d:10, e:0},{month:
"July", a:1, b:10, c:10, d:10, e:0},{month:
"June", a:10, b:10, c:10, d:10, e:0},{month:
"May", a:10, b:10, c:10, d:0, e:10},{month:
"April", a:10, b:10, c:0, d:10, e:10},{month:
"March", a:10, b:0, c:10, d:10, e:10},{month:
"February", a:0, b:10, c:10, d:10, e:10},{month:
"January", a:10, b:10, c:10, d:10, e:10}]);
private function initApp():void {}
]]>
</fx:Script>
<s:Panel title="Stacked Bar Chart - Problems with DataTips for Zero Value Items" id="panel1">
<s:layout>
<s:HorizontalLayout/>
</s:layout>
<mx:BarChart id="myChart" type="stacked"dataProvider="
{yearlyData}" showDataTips="true">
<mx:verticalAxis>
<mx:CategoryAxis categoryField="month"/>
</mx:verticalAxis>
<mx:series>
<mx:BarSeries
xField="a"displayName="
aaa"/>
<mx:BarSeries
xField="b"displayName="
bbb"/>
<mx:BarSeries
xField="c"displayName="
ccc"/>
<mx:BarSeries
xField="d"displayName="
ddd"/>
<mx:BarSeries
xField="e"displayName="
eee"/>
</mx:series>
</mx:BarChart>
<mx:Legend dataProvider="{myChart}"/>
</s:Panel>
<s:RichText width="700">
<s:br></s:br>
<s:p fontWeight="bold">The problem:</s:p>
<s:p>Datatips for zero value data points appear on left side of bar (if data point is not the first point in series).</s:p>
<s:br></s:br>
<s:p fontWeight="bold">For example:</s:p>
<s:p>1) For "June", eee = 0, mouse over the left side of the bar to see a datatip for "eee". Not good.</s:p>
<s:br></s:br>
<s:p>2) For "July", eee = 0 and aaa = 1, can't see the datatip for "aaa", instead "eee" shows. Real bad.</s:p>
<s:br></s:br>
<s:p>3) For "Feb", aaa = 0, datatip for "aaa" (first point) does not show. This is good.</s:p>
<s:br></s:br>
<s:p>4) For "Mar", bbb = 0, datatip for "bbb" shows on the left side of the bar. Not good.</s:p>
<s:br></s:br>
<s:p fontWeight="bold">Challenge:</s:p>
<s:p>How can we hide/remove datatips for zero value data points?</s:p>
<s:br></s:br>
</s:RichText></s:Application>FYI.
Still have the issue after upgrading to the latest Flex Builder 4.0.1 with SDK 4.1.0 build 16076.
Posted this as a bug in the Adobe Flex Bug and Issue Management system. JIRA
http://bugs.adobe.com/jira/browse/FLEXDMV-2478
Which is a clone of a similar issue with Flex 3 ...
http://bugs.adobe.com/jira/browse/FLEXDMV-1984 -
Anychart bar charts generated for each row of a report
I am looking for ideas on, or existing examples of how the above requirement could be implemented in Apex 3.2.1.
My initial thoughts are to:
- use a pipeline table function as the report region source
- generate the JavaScript for creating bar charts with one series of 48 points, as a column returned by the table function.
The source data will be unlikely to be more than 15-20 records pulled from a well indexed underlying record set of several million records.
My worry is that this may not be a particularly responsive solution and I would like to know if anyone can validate or improve on my approach?
Cheers
FunkyMonkeyYou would need to define a separate column to hold the required output for each possible parameter value in the first column.
Each column would need to be conditional, where the condition is based upon the value in the first column, which you can reference using #column_name# syntax.
Try that...
CS -
Break for Horizontal Axis Labels in OBIEE 11g Bar Chart
Hi all,
I have a vertical bar chart created in OBIEE 11g. The horizontal axis (x-axis) is a compound of Scenario, Year, and Month. The chart width is already long enough so it cannot be made any longer.
The chart looks like this (the label of horizontal axis is staggered):
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
Actual Feb 2012____________Actual Apr 2012
___________Actual Mar 2012_____________Actual May 2012
How can I force the labels for the horizontal axis to be broken into 2 lines (or even 3 lines), so that it will look like this:
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
___Actual________Actual________Actual________Actual
__Feb 2012_____Mar 2012_____Apr 2012______May 2012
Any advice? Thanks a lot!Hi Stewart,
I could not try this yet, but how about 'Enabling the Contains HTML Markup' for the columns for Heading and including a '</br>' tag at the end of the name.
Ex: Column - >Properties -> column Format -> Column Heading -> Enable Contains HTML Markup -> Column Heading's suffix =less than symbol /br greater than symbol (Oracle forums is even break the line too!! ;) So included the text)
Hope this helps.
Thank you,
Dhar
Edited by: Dhar on 15-May-2012 20:11
Edited by: Dhar on 15-May-2012 20:12 -
Different colors for same series in bar chart / "Deviation" Chart
Hello,
I calculate the absolute deviation for a certain characteristic - let's say 0CUSTOMER - with respect to an average value on a certain key figure - let's say "Sales".
Let's say, the average "Sales" over 3 customers is 100 .
Customer 1 has "Sales" = 150 (-> deviation = +50)
Customer 2 has "Sales" = 80 (-> deviation = -20)
Customer 3 has "Sales" = 70 (-> deviation = -30)
I'd like to show the positive and negative deviations (which build up one series) in a bar chart that is able to show the positive values in a different color than the negative values (green for positive; red for negative).
I tried the bar chart of the WAD, but I have no idea, how I can have values of the same series be shown in two different colors depending on their value (e. g. positive vs. negative).
Is there a way to smartly solve this problem?
Thanks for any answer in advance.
Best Regards,
PhilippHello Kai,
I've already seen that value range functionality in the chart editor. But actually I'm doing my first steps concercnig the WAD and chart design - still quite unexperienced user
I will give it a try with the value ranges... perhaps it helps me solving the problem. I will report on the outcome here.
Thx,
Philipp -
Maximum Rows for series in Charts (Cluster Bar Charts)
Question
Is there a way to dynamically define the "Maximum Rows" value for all the series in a cluster bar chart? I tried putting "&item_name." into the "Maximum Rows" field for a series, but get an Application Builder error indicating that the value should be numeric. I would like to set the "Maximum Rows" for all the series in a chart "on the fly".
Details
I have one horizontal cluster bar chart with 4 series on my page that has a variable number of rows i.e. the number of bar clusters that I want plotted varies based on the user's criteria. For one set of data there may be 10 clusters. If the user changes the criteria, the chart could then have 20 clusters. I have the "Maximum Rows" field for all 4 series in the chart set to 31 rows.
The Problem
The chart with only 10 clusters is two thirds whitespace. The 10 clusters fills up the bottom third of the chart. The top two thirds of the chart is blank. The chart with 20 clusters fills up the chart with no whitespace. The chart with 40 clusters gets the top 10 clusters cut off and only displays the bottom 31 clusters.
Any Suggestions
If you have any suggestions how I can accomplish this, please post them. Currently I am not interested in going outside of HTML DB. I may end up doing that though to get a more dynamic charting tool.
Thanks,
MikeNote 367711.1 deals with this issue. The contents of the note are the below:
At this time, this is not possible to dynamically set these charting attributes, however, an internal enhancement request has been created requesting that this functionality be incorporated into the product. The current plan is to incorporate this feature into 3.0 version of the product, however, this is just the current plan and can change depending on the complexity of the implementation. -
Combo chart - different colors for Bar/Line
Hi,
In a combo chart is it possible to have different colors for bar and lines......................In our report- combo charts the intersection of bar/line is NOT visible beacuse of same color.Yes, I create a formula row with a zero in the first column. The row should be hiden. This has to be at the top of the grid and include the row in your data ranges for the chart.
-
Setting legend layer attributes for SAP Bar Chart Graphics
Hello!
I'm using the SAP Bar Chart for displaying a calendar which is easily printable.
Because the chart contains lines with colored layers without text I need to show a legend at the bottom of a printed page.
I am using the CALL FUNCTION 'BARC_SET_LEGEND_ATTRIB' for setting up the legend and CALL FUNCTION 'BARC_ADD_LEGEND_NODE' to add the nodes/layers and texts to the legend.
The only problem is that the width of each layer displayed in the legend in very narrow. Only ten letters are shown for each legend entry and this is not enough to display the meaning of my colored bars in the chart area.
I tried changing layer-values in the bar chart customizing ( /ocng ) but nothing helped to make the legend entries wider.
Does anyone have an idea?Hi,
Try this link
[http://help.sap.com/saphelp_40b/helpdata/fr/52/670cd2439b11d1896f0000e8322d00/content.htm]
You can find sample SAP reports for graph and graphics
[http://www.erpgenie.com/sap-technical/abap/sample-codes-for-sap-graphs-a-graphics]
Ben. -
Workaround for NO DATA FOUND in stacked bar chart?
Hello, Ive got a stacked bar chart in the making, when one of the series doesnt have data, the whole chart show the no data found message but not the other series that do have data. Is there a workaround for this? can I catch the exception in the Series Query? Or is there any other workaround someone has tried with success???
thanks for any help or suggestion!!!Ok, figured out a workaround based on my rusted SQL memories (its probably not the most efficient way to go), made a view like this:
CREATE OR REPLACE FORCE VIEW "VISTA1" ("NOMBRE", "TIPO_LOCAL", "TIPO", "FECHA", "OPCIONAL") AS
select USUARIO.NOMBRE, USUARIO.TIPO TIPO_LOCAL, CONSUMO.TIPO, CONSUMO.FECHA, CONSUMO.OPCIONAL
FROM USUARIO
LEFT JOIN CONSUMO
ON USUARIO.ID_USUARIO = CONSUMO.USUARIO_ID_USUARIO
on this view, i made individual selects and UNIONed them for a comeplete table, with null values being zero, just what was needed:
select null link,
LOCAL,
total "CANTIDAD"
FROM
select
count(A.TIPO) TOTAL, 'SIGO SAMBIL' LOCAL
FROM VISTA1 A
where A.tipo='3 PACK' AND A.NOMBRE = 'SIGO SAMBIL'
UNION
select
count(A.TIPO) TOTAL, 'A GRANEL' LOCAL
FROM VISTA1 A
where A.tipo='3 PACK' AND A.NOMBRE = 'A GRANEL'
etc.....
for each series, i then had to change the A.tipo value to whatever the new series should be.
regards,
Mariano.
Maybe you are looking for
-
Replacing SSD MacBook Pro mid 2014
Hi all. I Would like to buy a mid 2014 MacBook pro retina 13" but there is only 128Gb SSD on it. I read about welded ssd. Is it true? can I replace this SSD after buying? Do you which kind of SSD do I have to buy? thank you.
-
What is the purpose of the chain (lock symbol) between a solid color layer and its vector mask in the layer panel when creating shape layers with a shape tool? I'm just curious when locking or unlocking the solid color layer and its vector mask can m
-
Inline Figure Numbering: Best Practice
Hi all, I'm seeking input into what the best practice is for numbering images/figures that are placed inline in a document. I want these figures to have consecutive numbers and to move with the text as the text is edited. The crucial part is that I w
-
Reset vendor line itemas in fbra
Hi, in fbra we can reset vendor cleared iteams. at the time my invoice and payment entry will remain opean iteams.while doing my payment document reset in fbra it is reversing the payment document and invoice is showing open item. because in this tr
-
What's the next step before making your site "live"
Hi, I created a website and I wanted to get input on what my next step would be prior to uploading my website to the host server. It's all ready to go live I just figured there's probably some testing and validating I need to do on it to make sure ev