Manipulating custom measure variable inside a line chart

Hie Guys,
I have a line chart in my report that contains 2 custom measure variables & 1 measure object from the Universe in the Y axis and one dimension object - "Month" in the X axis.
Formula for the custom measure variables are - 
If [Month] = "Jan" Then 45
ElseIf [Month] = "Feb" Then 65
ElseIf [Month] = "Mar" Then 88
And so on..........
Now, I have an input control in the report for "Project Type" (Development & Improvement)
I want the chart to behave as described  below.
If (Project Type = "Development") Then only display measure object 1 in the chart
If (Project Type = "Improvement") Then only display measure object 2 in the chart.
Right now, the input controls are displaying all measure objects in the chart when I click on them.
Is there a way I can get the above mentioned functionality in my report? I am using Business Objects 4.0  SP6.
Could anyone please help me solve the problem? Thanks.

Hi,
Add Two Line Charts in Report one with [Measure Object 1]
& another with [Measure Object 2] .
Now Create Variable for User Selection .
Selection = ReportFilter([Project Type])
Now in Hide When Property of chart (Right Click on Chart --> Format Chart )

Similar Messages

  • CR Enterprise - Custom y-axis labels for line chart

    Hi
    I have data with a discrete status (STATUS-1...STATUS-5) per day, like
    Feb 1: STATUS-1
    Feb 2: STATUS-2
    Feb 3: STATUS-2
    Feb 4: STATUS-1
    Feb 30: STATUS-4
    Feb 31: STATUS-1
    This series I'd like to render in a date axis line chart with the daily status ordinals (1-5) on the y-axis.
    Now I wonder how I can label the y-axis ticks with the respective STATUS text instead of the ordinal.
    Unfortunately, the option "Total (Y) Axis/Axis/AxisLabels/Display Label" is disabled due to the value's numeric nature.
    How can I manually overwrite y-axis labels or map them to custom text?
    Thanks. Jens

    HI Jens,
    Have you tried creating a formula and using that in 'Show Values' section of the chart?
    Formula:
    "STATUS-" & {Numeric_field}
    -Abhilash

  • How to use custom function for formatting the Line Chart Axes?

    Hi...
    I'm using a Line chart who's y axis value range from 0 to 50000. This is a number which it gets from it's dataProvider. I want to format this and show it as
    $50,000
    $40,000
    $30,000
    $20,000
    $10,000
    $0
    instead of
    50000
    40000
    30000
    20000
    10000
    0
    Here's my linechart code:
    <mx:LineChart id="revTimeLineChart"
                width="100%" height="100%"
                showDataTips="true" >
                <mx:horizontalAxis>
                   <mx:CategoryAxis id="lcCatAxis" categoryField="name"/>
                </mx:horizontalAxis>
                <mx:series>
                   <mx:LineSeries id="ls" yField="revenue" displayName="Revenue" showDataEffect="{slideIn}"/>      (yField is what I want to format....)
                </mx:series>
    </mx:LineChart>
    Can you please let me know how can this be achieved?
    Cheers!
    Deepak

    Hi,
    You could do something like this,
    http://www.codersrevolution.com/index.cfm/2008/10/14/Flex-Charting-Format-your-X-and-Y-Axi s
    hope it helps!
    Regards ,
    Bhavika

  • Placing raster image inside of line chart

    I saw that it "Cool Extras", in AI folder...Is there an explanation somewhere there, as to how to get that same effect, without losing data?
    Or, does anyone know how to do it, w/out loosing data?
    Thanks so much!!!

    Adobe Support has Video Workshop (if not in your CD set of CS2) which has 2-3 min. video of the various procedures of their products. Overlaying images is one lesson.

  • Environmental variables as command line args

    Hello, all,
    I would like to pass an environmental variable as a command line argument for a java program.
    Example:
    java MyClass $MY_VARIABLE
    However, it actually passes "$MY_VARIABLE", and not the value of MY_VARIABLE. I know that I can use java -D(MY_VARIABLE=SOMETHING) and get it using System.getProperty ("MY_VARIABLE");
    However, I would prefer it the first way, actually passing the variable inside command line. Is there a way to do this?
    Thank you,
    Elana

    Nevermind... Error in my code... It works
    Thank you

  • Hiding measure values line chart

    Hie Guys,
    I have a line chart with measure object "X" and dimension "Month". Now, the measure values are going to be zero for all previous months. I do not want those zero values to be displayed in the line chart. Is there a way to do this in Webi? I tried to create a variable to substitute Measure object X.
    Variable = If (Measure Object =0) Then "" Else Measure Object. This did not work as the chart only takes measures and the variable is text. Anybody have any suggestions? Thanks.

    Jeewan, Consider this as sample data.
    Now create three variables....
    Month 1 = [M1] Where ([M1]<>0)
    Month 2 = [M2] Where ([M2]<>0)
    Month 3 = [M3]  Where ([M3]<>0)
    Now your data will be
    Right Click on it. Turn into Line Chart. Finally your output is as you required.
    Regards,
    G Sujitha

  • DAX formula and Legend/Series variable on line chart

    What I am trying to do is to find a DAX function that will not cumulate the 'startyear' variable (2006-2012) that is in the Legend/Series in a pivot table for a line chart I have (see below image of chart). The below functions just cause the startyear values
    to cumulate all together (2006+2007+2008....) instead of treating the years as separate values:
    =(CALCULATE(countrows(s1Perm1),FILTER(ALLSELECTED(s1Perm1),s1Perm1[ExitMonthCategory] <= MAX(s1Perm1[ExitMonthCategory]))))/(CALCULATE(COUNTROWS(s1Perm1),ALL(s1Perm1[Exit],s1Perm1[ExitMonthCategory])))
    Does anyone know how to change the above DAX formula or have another one that will allow the values in the Legend/Series variable to cumulate individually?

    Yes, it is a count, but they also must meet the criteria in the slicers chosen by the user.
    Regardless, I tried your suggestion and unfortunately, it did not work--in that the year values in the Legend/series are still aggregating together, rather than individually--ie. the numerator below for 2007 and 2007 are combined:
    StartYear
    Values
    2006
    2007
    ExitMonthCategory
    Den
    Num
    CumPercent
    Den
    Num
    CumPercent
    0.5
    243
    30
    12.3 %
    168
    30
    17.9 %
    1
    243
    37
    15.2 %
    168
    37
    22.0 %
    2
    243
    53
    21.8 %
    168
    53
    31.5 %
    3
    243
    63
    25.9 %
    168
    63
    37.5 %
    4
    243
    75
    30.9 %
    168
    75
    44.6 %
    5
    243
    92
    37.9 %
    168
    92
    54.8 %
    6
    243
    104
    42.8 %
    168
    104
    61.9 %
    12
    243
    175
    72.0 %
    168
    175
    104.2 %
    18
    243
    218
    89.7 %
    168
    218
    129.8 %
    24
    243
    262
    107.8 %
    168
    262
    156.0 %
    30
    243
    289
    118.9 %
    168
    289
    172.0 %
    36
    243
    302
    124.3 %
    168
    302
    179.8 %
    42
    243
    306
    125.9 %
    48
    243
    309
    127.2 %
    168
    309
    183.9 %
    54
    243
    318
    130.9 %
    168
    318
    189.3 %
    60
    243
    320
    131.7 %
    66
    243
    321
    132.1 %
    72
    168
    324
    192.9 %

  • Flash line chart: manipulating the line and data point

    In Apex 3.1 Flash line chart
    Is there a way to change the line thickness and suppress the circular data point? We think it looks cartoonish and ugly especially when there are many data points.
    Thanks,
    Fred

    Hello,
    Use Custom XML in the Chart attributes and replace the line_chart section with:
          <line_chart left_space="5" right_space="5">
            <block_names enabled="no" />
            <dots type='circle' radius='2' />
            <lines size='1' auto_color='yes' tone='0xFFC700' color='0xC1C1C1' />
          </line_chart>I've put the example here also: http://examples.apex-evangelists.com/pls/apex/f?p=286:34:0
    If you come to ODTUG, OOW or our "European Apex Training Days" I'll go into more depth about all this.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://eurotraining.apex-evangelists.com/
    -- http://apexblogs.info/

  • Line charts of variable thickness in a series

    I'm trying to create a line chart where a small subset of the line [i.e. between points 1 and 3] has a different thickness than the rest of the line in order to highlight that region. Any ideas as to how to create that (or if it's even possible in this release of Numbers)?

    Thanks, but what I'm really trying to do is change a subset of that line's thickness.
    I don't think it's possible using a line chart, though it would be if I could use an XY-Scatter chart with lines. The trick there would be to have two series with one overlapping point, and to set the different thicknesses for the different series. Unfortunately, this requires Scatter Lines, which (if I'm not mistaken, and I do hope I am), Numbers can't do.

  • Ignoring current month line chart

    Hie Guys,
    I have a line chart with "Month-Year" as the dimension object and 3 measure objects (variables). I created variables for the measure objects so that only non-zero values are displayed. i.e. Variable 1 =  Measure 1 Where (Measure 1 <>0)  and so on.
    Now, inside the chart, I do not want to display the current month's measure values. However, the other month's measure values should be displayed (besides the zero values).
    Example format for "Month-Year" = Jan-14.
    Is there a way to achieve this in Webi 4.1? Thanks.

    Hi Jeewan,
    I guess we have to extend this filter little bit.
    The above solution will give blank value for the current month.
    for example. I have applied the where condition on month object to eliminate the Current Month, But it is showing me blank value in place of current month(See below screen shot)
    you have to make the another variable.
    variable_name=if([calmonth]<>formatdate(currentdate();"Mmm - yy");1;0)
    and then rigth click on chart
    go to filter and apply filter such that
    variable_name=1
    Let me know if this will help you.:)

  • Specific Line Chart Graph

    I
    I......................................................................................           ->> Upper Threshhold point
    I
    I   ...         ......                                                                                ^
    I  .   ...    ...                                                                                Y - axis
    I ..     ....
    I..
    I.......................................................................................            ->> Lower Threshhold point
    I..............................................................................................
    X- axis...........................>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Dear Experts,
    I have a requiremnet to generate a specific Line Chart in SAP. User will execute one program which will provide a report. The report will be a simple ALV grid report where User needs a customized Graph button. On clicking the button the program should generate the sample graph provided above. Curently I am working in SAP 4.6C version. I know SAP has already provide few chart and diagram display functionalities which are present in ALV. But above Line Chart is not among those. How to acheive the above objective?
    Regards,
    Pulokesh

    Dear Mathews and Kai,
                   Thanks for the help extended by you all regarding the problem faced by me. I didn't adopt the ways as per explained by you, but I studied a lot and procedures to create custom graph as per said by you. I found a unique way to achive my target by manipulating the variable list data and calculating the constant value of Upper/ Lower Threshold level. In this way I used the same old ALV grid technique to obtain the graph. Thanks for your help.
    Regards,
    Pulokesh

  • Hint Values on Line Chart

    When you setup a line chart, the LABEL portion of the SQL query becomes the X axis value on the line chart. When there are multiple series on a line chart, each series is its own distinct line. If the series has a LABEL that is not yet on the chart, it adds that label to the x axis at the end of the axis. If the new series has a LABEL that is already on the chart, then it places the Value on that existing place on the x-axis. This Label is also used in the Hint portion of the chart.
    So lets compare the number of Sales per day of a Department across a length of time, say 3 months. So, on first working day on Jan dept A has 31 sales. On the second working day of January thay make 35 sales and so on until March 31. Our company doesn't work on weekends so we won't have sales on those dates. Dept B has their numbers for the same dates.
    We setup a series for each month (Jan, Feb, March). Then we place the total number of orders for each date on the graph and connect the dots! Great! But wait, the more months I add, the shorter each line gets on the graph. What if we were comparing 3 years worth of data instead of 3 months. The x-axis would have 600-700 values instead of 60-70 values. Oh my.
    What if we make each series of data its own line over the same scale? That way each month shows in the same space with the first day of the month at the left and the last day of the month near the right. Sounds good. But wait, we are now making up a scale. And when we do this, the Hints on the data points become meaningless. I want to show the actual date value in the hint but have the line over my custom X-Axis. What I need is an additional field that I can use to add to the Hint portion of the chart. Obviously, this would require using custom xml and a custom data element, but is this even possible given the constraints of the SQL syntax?
    To visualize this issue better: http://apex.oracle.com/pls/otn/f?p=28155:1
    Austin

    Andy -
    I need to thank you for the direction on the substitution variables reference. That will be a major help.
    However, i must correct a statement (underlining is mine)
    So, if you switch to Custom XML and find the <tooltip> tag and add {%SeriesName} after the existing {%Name} entry, you end up with the _"day of the month" (which is your value)_ and the Series Name value, which is January - so, "1 January"This is a common misconception that the numeric value on the x axis represent the "day of the month" , when in fact it does not. You logically cannot use the day of the month for this type of axis. Why not? It is because weekends are excluded. So, one month may begin on a Friday. If that were the case then the 2nd of the month would be a Saturday, which would work for a single series of data. But what about when you add in the next month and it begins on a Tuesday. Well then, if you use the day of the month as the value, the 2nd day of the second series actually gets plotted after all the days of the first month.
    The solution is that you have to generate a common arbitrary scale for all series of data. When you do that, you lose the date values.
    I have tried to illustrate all of this by adding to the existing examples in the link provided above. Some other odd behaviors of using the day of the month as the x-axis value can be seen as well. I have also implemented the suggestion of adding the {%SeriesName} tag to the Hint via the custom xml.
    Austin

  • Change Color from grid lines in Flash 2D Line Chart

    Hi,
    does anybody know how to change the color from the grid lines in 2D Line Chart?
    The color is always black (000000), I will use gray (CCCCCC).
    I can use a custom XML. Can you give me an example please???
    Where can I read something about the possible XML-Tags in Custom XML for Charts?
    Best regards
    Simona

    Simona,
    anychart.com has XML reference you can use for the charting engine in APEX.
    Try using custom XML and sticking this inside the grid > values tag:
    <lines color='0xCCCCCC' />- Marco

  • Dynamic X axis in line chart

    Hi All,
    I'm making a line chart in Webi in which different lines represent different products.  On the Y axis I have a measure (no problems here) and on the X axis I have months.  Naturally, different products enter the chart at different points along the X axis because they didn't all enter the portfolio at the same time as you can see in the print screen.  My problem is though, that I want the start point for all of the lines in the chart to be at the X-Y intersect, not the month that they actually started.  The values for the X axis should then be 1 - 24 or something similar to cover a 2 year period. Newer products would then have a line that stopped at some point in the middle of the chart, rather than one that started in the middle.
    I've been trying to create a new variable where min([Month]) is equal to 1 and then each month after that would be +1, but I'm not having any luck.
    Thanks in advance for any suggestions.

    Hi Jeremy,
    Thanks for your tip.  I've created a new variable to calculate the months between the very first date and the product specific dates, and then subtracted the difference so that all products start at the same date in the new variable.  But it still leaves me with the same problem as I had with the count variable earlier. When I place the new variable on the chart it returns a multivalue error.  Any idea on how I could get around this? In table format it looks like this:
    Table 1 with original month and new variable
    Table 2 with only new variable
    Table 3 desired outcome
    Product
    Month
    *Adjusted Month
    Rate
    Product
    *Adjusted Month
    Rate
    Product
    *Adjusted Month
    Rate
    Product 1
    201205
    201203
    Product 1
    #MULTIVALUE
    1.61%
    Product 1
    201203
    Product 1
    201206
    201204
    0.05%
    Product 2
    #MULTIVALUE
    2.12%
    Product 1
    201204
    0.05%
    Product 1
    201207
    201205
    0.07%
    Product 1
    201205
    0.07%
    Product 1
    201208
    201206
    0.39%
    Product 1
    201206
    0.39%
    Product 1
    201209
    201207
    0.65%
    Product 1
    201207
    0.65%
    Product 1
    201210
    201208
    0.94%
    Product 1
    201208
    0.94%
    Product 1
    201211
    201209
    1.18%
    Product 1
    201209
    1.18%
    Product 1
    201212
    201210
    1.16%
    Product 1
    201210
    1.16%
    Product 1
    201301
    201211
    1.61%
    Product 1
    201211
    1.61%
    Product 2
    201205
    201203
    Product 2
    201203
    Product 2
    201206
    201204
    0.02%
    Product 2
    201204
    0.02%
    Product 2
    201207
    201205
    0.29%
    Product 2
    201205
    0.29%
    Product 2
    201208
    201206
    0.74%
    Product 2
    201206
    0.74%
    Product 2
    201209
    201207
    0.95%
    Product 2
    201207
    0.95%
    Product 2
    201210
    201208
    1.37%
    Product 2
    201208
    1.37%
    Product 2
    201211
    201209
    1.77%
    Product 2
    201209
    1.77%
    Product 2
    201212
    201210
    2.12%
    Product 2
    201210
    2.12%

  • Web I line chart formatting

    hi all, I am trying all my best for webI line chart formatting but I don't see much options, quick question is there any button or tool box for formatting  WebI line chart except properties tab???
    and my requirement is, usually when i turn  table to line chart by default  X-axis will be lower side and Y-axis will start from left end of X-axis and stand perpendicular to it. But what I need is X-axis should remain same but Y-axis should start from right end of x-axis.
    In short and clear Point of intersection of X and Y axis is left end of x-axis but I need point of intersection should be right end of X-axis line. are there any formatting tips???

    Hi,
    Follow the below steps.
    1) Create a dummy measure variable with name  ' (Comma) and formula value is =0. (Variable name is ' because if you put any other name that will come  in the Legend and its a dummy objects)
    2)Select the bar and line graph and put the dummy variable in the Y axis and Y axis value in the Z axis.
    3) After that no value  will show in the Y axis and your Z axis value show the line graph.
    Hope this will help you.
    Thanks,
    Amit

Maybe you are looking for