Legend for a line chart displaying incorrectly

Hi All,
I am working with a line chart in webi XI R2. for example conssider the island resort marketing universe. we have 3 resort names like bahamas,US,France and the corresponding "revenue"  for year 1999,2000,2001. Now i want a line chart for each resort and another line for sum of all the revenue.
So my final line chart contains 4 lines, one each for bahamas,US,France for 1999,2000,2001. and 4 line is sum of all revenues (for all resorts) in 1999,2000,2001.
I have used a "vertical line mixed" chart for this. All the graph lines are displaying correctly but the legend is displaying wrongly.
Please advise.

Hi Raveendra,
I guess its the 4th line i.e. sum af all revenue that you have added in the same chart is causing the problem.
My solution is why dont you try and put the sum of all revenue in other chart on the same report.
May this would help resolve your legend problem.
If you can give the exact details like what attributes you have selected while running the query and how did you added the sum of all revenue in your chart being more specific, would rather help a bit better in solving the problem.
Thanks,
Chirag Desai.

Similar Messages

  • Display column values as a series/legend on a line chart where one column value can be more than one category

    Hi Everyone
    I don't know if this is possible or not, so I will describe it. I have a column in a table called Filing. There are currently three values in it ("Abuse", "Neglect", "Voluntary") and each record has this populated. I also have
    the below slicer for the column also.
    I would like to add a fourth value called "Abuse/Neglect" that would identify instances where both an Abuse and Neglect petition was filed, which is a subset of the Abuse and Neglect records in the Filing column.
    My question is, is it possible to create a line chart that has the 4 Filing possibilities: "Abuse", "Neglect", "Voluntary", "Abuse/Neglect" as the Series/Legend in the line chart?
    The problem is that there are records that are more than one category: Abuse or Neglect records can also be Abuse/Neglect.
    Paul

    Hi Paul,
    According to your description, there is a column with the values ("Abuse", "Neglect", "Voluntary") in your table, now what you need to is that add another value "Abuse/Neglect" in this column, and then use it
    as Series/Legend in the line chart, right?
    In this case, you can add calculated column to your table based on your logic. A calculated column is a column that you add to an existing PowerPivot table. Instead of pasting or importing values in the column, you create a DAX formula that defines
    the column values. The calculated column can be used in a PivotTable, PivotChart, or Power View report as you would any other data column. Please refer to the link below to see the details.
    https://msdn.microsoft.com/en-us/library/gg413492%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    Regards,
    Charlie Liao
    TechNet Community Support

  • T.code required for Vendor line item display and Customer line item display

    Hi Gurus,
    Pl provide me transaction code for "Vendor line item display and " Customer line item display apart from FBL1n for vendor and FBL5n for customers.
    Kindly advise.
    Regards,
    Samar

    Hi,
    You could use these, for example:
    S_ALR_87012103 - List of Vendor Line Items
    S_ALR_87012197 - List of Customer Line Items
    Just curious: what's wrong with FBL1(5)N?
    Regards,
    Eli

  • How to make use of a different data model for a line chart?

    I have a datamodel which is a sql query. I have a line chart on my template which is using some "Start Time" field as X-Axis. There is a chance that "Start Time" is null. In such cases the plotted point doesn't appear with x-coordinate. But I can't change the X_Axis field to some other not-null attribute due to business requirement.
    I am thinking to create another datamodel which filters all "Start Time"s which are nulls and use that datamodel for the line chart that has "Start Time" as X-axis. But I don't know how to do this as whenever I try to insert a line chart from BIPublisher menu in MS_Word, I am not prompted to select the datamodel.
    Can anybody tell me what I am trying is possible? If so how? If not, how do I have "Start Time" as X-axis without hassles?
    Thanks,
    -Vijay-

    Are you able to extract the data based on the new data model in an XML file? If so, in BI publisher desktop, are you able to load the XML data via Add-Ins ->Data -> Load XML Data?
    If you have been able to load the data successfully, then you need to Select Chart from the Insert Menu. When you do that, you should be able to see the Data layout on the left side of the chart dialog box. Then you should be able to drag and drop fields as necessary to create the chart. Are you having issues doing this part?
    You will not be prompted to select the data model. Hope I haven't misunderstood your question.
    Thanks!

  • Is it possible for a line chart to display curved lines between points?

    We have an interesting request to build a line chart in OBIEE, where the chart points are connected by curved lines instead of the normal straight lines. The best way to describe it would be "snakelike." I've seen this in a Cognos report, but I'm not sure if OBIEE can do this. Maybe a setting within line.pcxml? Any ideas?

    We currently do not provide such a chart. The two options you have for connecting the points in a line chart are either via a straight line or via a step curve. A curved line would basically be a form of a spline curve, with appropriate curve-fitting algorithms.
    Rgds,
    Abhinav
    BI Product Management

  • Legend with a line chart

    I am working on a line chart and want to add a legend to it.
    For the purpose I am using
    <mx:Legend dataProvider="{bigChart}"/>
    Now the y-axis in the chart can display different properties
    based on the items clicked before rendering. It can be profitAmount
    or it could be goodsSold. So the yAxis attribute keeps on changing.
    What happens with this legend is that the bos appears but
    with no text. Is there a way I can force some text to
    appear?

    nevermind I was missing displayName tag

  • Problem in editing legend label of line chart

    Hi,
    I am using crystal 2008 and deploying reports in Java appilication.
    I have a report with line chart in group header. I am using formulae for 'Show value' field. So legend shows it as @formula1
    I couldnt change this is design mode, so i went to preview mode and used 'edit axis label' for each of the chart.
    Now i can see proper legend labels in my crystal 2008. But when i deploy the report in java application, chart still shows @formula1 .... any idea on why my changes are not displayed in crystalviewer?
    Thanks

    This is tricky... and somehow you won't find it in manual.
    After the change of Axis Label, right click on Chart Area. You will see new option "Apply Changes to All Charts". Choose this option and voila - You owe me a bottle

  • My apex line chart display MM/DD/YYYY HH:MM:SS' for time in axis instead of values

    select null link, to_char(date_1, 'MM/DD/YYYY HH:MM:SS'), decode(array_1, 187751439, ios_per_sec) "187751439", decode(array_1, 192603854, ios_per_sec) "192603854", decode

    Without giving the format i get the date alone on axis without the time

  • Hiding lines on a line chart (Display marker only)

    I would like to only view Markers along with bars in combination chart. Need to make lines transparent or hidden (disable).
    The X category  axis is (different companies), so connecting line is not appropriate.
    There are setting to hide other elements: Markers (Enable or Transparency), Column (Transparency).

    Hi,
    I don't think that is possible out-of-the-box. What you could do is the following:
    1) Create a Bar chart
    2) Create a XY chart (this will be your markers). Create a new series on the XY chart. Point the x-values to the x-axis labels on you bar chart. Point the y-values to the values you would like to display as markers.
    3) Disable display of most of the elements of the XY chart, e.g. chart back ground, legend, vertical axis, gridlines etc.
    4) Move the XY chart on top of you Bar chart
    This will work, but might take a little fiddling :o)
    Hth.,
    Jacob

  • Hiding legend entry in line chart

    i hide the line series lineSeries
         lineSeries.visible=false;
    but its legend entry is shown on the chart.
    How can I hide the legend entry to hidden line series?

    Hi Asif,
    You need to write some ActionScript to acheive this functionality...Its not that simple just as you make lineseries visible=false...the legend item will go
    away...You need to explicitly remove and add series...as shown in code below:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Script>
            <![CDATA[
            import mx.collections.ArrayCollection;
            [Bindable]
            private var expensesAC:ArrayCollection = new ArrayCollection( [
                { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 },
                { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
                { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 },
                { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
                { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
            private function addLineSeriesToChart(item:String):void 
          var isFound:Boolean = false;
          for ( var i:int = 0; i < lineChart.series.length; i++ ) 
           if ( lineChart.series[i].yField == item ) 
             isFound = true;
           if(!isFound)
           var newLS:LineSeries = new LineSeries(); 
           newLS.yField = item;
           newLS.displayName = item; 
           var tmp:Array = lineChart.series;  
           tmp.push(newLS); 
           lineChart.series = tmp;  
           lineChart.invalidateSeriesStyles();
            private function removeLineSeriesFromChart(item:String):void 
           var objToRemoveIndex:int;
           var isFound:Boolean = false;
           for ( var i:int = 0; i < lineChart.series.length; i++ ) 
           if ( lineChart.series[i].yField == item ) 
            objToRemoveIndex = i; 
            isFound = true;
           if(isFound)
            var tmp:Array = lineChart.series;
            tmp.splice(objToRemoveIndex,1);
            lineChart.series = tmp;
            lineChart.invalidateSeriesStyles();
      private function addProfitLineSeries():void 
       addLineSeriesToChart("Profit");
      private function removeProfitLineSeries():void 
       removeLineSeriesFromChart("Profit");
            ]]>
        </mx:Script>
        <mx:HBox width="100%" horizontalAlign="center">
      <mx:Button label="Add Profit Series" click="addProfitLineSeries()" />
      <mx:Button label="Remove Profit Series" click="removeProfitLineSeries()" />
        </mx:HBox>
        <!-- Define custom colors for use as fills in the AreaChart control. -->
        <mx:SolidColor id="sc1" color="blue" alpha=".3"/>
        <mx:SolidColor id="sc2" color="red" alpha=".3"/>
        <mx:SolidColor id="sc3" color="green" alpha=".3"/>
        <!-- Define custom Strokes. -->
        <mx:Stroke id = "s1" color="blue" weight="2"/>
        <mx:Stroke id = "s2" color="red" weight="2"/>
        <mx:Stroke id = "s3" color="green" weight="2"/>
        <mx:Panel title="LineChart and AreaChart Controls Example"
            height="100%" width="100%" layout="horizontal">
            <mx:LineChart id="lineChart" height="100%" width="45%"
                paddingLeft="5" paddingRight="5"
                showDataTips="true" dataProvider="{expensesAC}">
                <mx:horizontalAxis>
                    <mx:CategoryAxis categoryField="Month"/>
                </mx:horizontalAxis>
                <mx:series>
                    <mx:LineSeries id="lineSeriesProfit" yField="Profit" form="curve" displayName="Profit" lineStroke="{s1}"/>
                    <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses" lineStroke="{s2}"/>
                    <mx:LineSeries yField="Amount" form="curve" displayName="Amount" lineStroke="{s3}"/>
                </mx:series>
            </mx:LineChart>
            <mx:Legend dataProvider="{lineChart}"/>
        </mx:Panel>
    </mx:Application>
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • To Insert Header Field for  Vendor Line Item Display FBL1N

    Hai All,
    I got a requirement that i have to add a Header item in the standard Tcode FBL1N. The client requirement is to add the Balance Carry Forward Amount Field in the Header level of the Output display.
    I have inserted the Header Text in the output display by going through Settings =>Layout => Current Header Rows but iam not able to pass a variable to that pertaining output text.
    Pls provide me the solution regarding ....

    Please note that most vendor line items wont have a PC assigned to them.
    I am not sure if you are refering to classic view or new GL data.
    Anyway you can use the sum button, and sub total for your levels.
    If you want to get the information sub totalled by PC, then I guess you are using the new GL and document splitting.
    If that is the case you cannot use FBL1N for this.
    There is however a set of reports in Accounts Payable, called new Gl reports and they will provide you the general ledger view and not the entry level view, and you can use the sum and sub total option.
    Please award points if this is useful.
    Come back if you need further help.

  • Legend for multiple waveform chart

    I have a Waveform Chart (and legend) with multiple waveforms.  I can control the visibility of a given waveform on the chart programmatically using the "ActPlot" and "Plot.Visible?" properties.
    Is it possible to programmatically make the legend only contain the plot names that are visible at any given time?
    Cheers,
    Dan
    Dan
    CLD

    Hello DanB,
    Following along the lines of what smercurio_fc suggested, you can use the Legend>Number Of Rows property (LegNumRows) to change the number of rows of your legend to the number of plots you are viewing, and then use the Plot>Plot Name property (Plot.Name) to edit the names of the plots yourself. I cannot see a property to extract these names dynamically, so this is probably your best bet.
    I hope this helps, otherwise please do let us know if there is anything further,
    Kind Regards,
    Michael S.
    Applications Engineer
    NI UK & Ireland

  • Legend view on line chart click

    Hi,
    I have to axis x and y on line graph so x axis contains time dimension in hours 4p,8pm or can be date dimensions and and y axis it contains sale values
    now the point is when ever click on any date on x bar i get value on that of alll y axis line graphs like say there are 6 line bar avl in y axis so it show is value of all that on a particular day in legend or pop up window
    e.g.
    click mouse
    on
    date 04/11- gets pop window contains value of all six bars on that particular date
    thanks
    Edited by: Chinu on Nov 5, 2011 11:50 PM

    nevermind I was missing displayName tag

  • PO line item displaying incorrectly from contract

    I have an issue with a line item on a purchase order that is pulled from a contract.  On the contract the item is priced at $75.50 USD and the price unit is PER 100 EA.
    When this line item transfers to the PO it shows a price of 76 cents, but it calculates at a rate of .755.  The line item total is $3.02 for a quantity of 4 (.755 X 4) , but give the fact that the line shows .76 there is a disconnect on the total.  The client expects to see $3.04 (.76 X 4).
    I have noticed is there is no rounding issue for items that have a price unit of PER 1 EA.
    I am not sure if this is an issue with the price condition load for the contact or another issue.  Has anybody experience as situation similar to this, or have any suggestions? 
    Any help would be greatly appreciated.
    Regards,
    Bill Davis

    Thanks Yann,
    This note fixed the issue.  Sorry for taking so long to reply.  I had to get the note extended for SRM 5.0 and that took a little time.
    Regards,
    Bill

  • Line Chart cannot drill down on legends and lines

    I am doing a drill down Group report which will show the Sum of Last year's Sales By Country, State and city over a period of time(by date) for throughout the year 2007. Every group will have a line chart with Data title as Sum of Last year's Sales ($), Group Title as Date and legends displaying countries (or states or cities) as USA,UK,Australia. etc.. I have same sort of line chart for State and City as well. So, I got 3 levels of groups with a line-chart displayed in every group level.
    Now, the problem is my drill down would not work on chart lines or legends as it would do for a 2-dimensional data chart like a bar-chart or pie-chart. In the Chart Expert->Data->Layout:Group ->in the On Change Of event selection I am able to specify either Sales.Country (or) Sales.country and Sales.Sales.State. Both options would not let me get the correct linechart with correct data and drill-down working as well.
    The only work-around i got is to display the line chart with legends and showing the Country(or State or City) names in a field in the Group Footer. The drilling will work on those fields, but not on the legends or lines of the line chart. This make my report showing the Country names twice once on legend (with no drill-down) and once on group-footer(with drilling ability to groups below) which is untidy.
    Have anyone tried to make a drill-down crystal report on a 3-dimensional data like this? The World Sales report in Crystal reports C:\Program...\BO\Samples\General Business\World Sales Report is the best example of how i would like to see my charts to drill down. However, they drill down across a 2-dimensional data. I am publishing this Crystal Reports in Business Objects Infoview.

    Please re-post if this is still an issue

Maybe you are looking for

  • How to show only complete albums in Albums view NOT singles?

    I will try to explain this sa simple as I can: - In albums view I ONLY want my completed albums listed. - I tried to rename the album title of all my singles or songs with incomplete albums as "singles/incomplete albums" but they are still listed ind

  • How to call an ejb method from jsp?

    Hi, everyone! Inside my JSP, I4m using scripts in order to show and receive information, that is, a form.But I don4t Know if I can use the same variables from the script in order to call the 'set' methods from my EJB. Could anyone show me an example?

  • Q : SQL*Loader : Loading on a condition

    Hi, Appreciate if someone can give me some directions on this. I get data-files which has a particular identified on the 1st record( header ), based on which I've to load a constant for the 1st column of every row. How do I set in the control file. E

  • Portal component development-personlization

    hi, can anyone tell syntax of date ? i  wrote some code.But  it give run time error. in java file : profile.getProperty("date"); profile.getPropertyAttribute("date","type"); response.write(profile.getProperty("date")); in xml file :    <property name

  • Help setting VM's to use Static MAC using Powershell

    Hi all, I would like to create a powershell script to set all VM's with a Static MAC address on one of our Hyper-V Clusters. So far I've managed to do this in the gui buy creating a new MAC Pool then shutting down 1 of the VM's and changing the netwo