Creating a Line Chart using a user enter target amount.

Hi all,
I'm trying to create a chart that will use Total Sales and Annual Target(Goal).
I get the Total sales to work just fine. It's just getting the Annual Target(Goal), which is a parameter, to come into the chart. Right now they are doing this in Excel and the Target line goes from 0 to 8,000,000.
So how do i get that to work in my Crystal Report?
So when the report is working correctly i should have a Line Chart with two Lines. Line 1 "The Target", Line 2 "Total Sales".
Thanks

Hi
Create a formula field and store the parameter there.
Now put this formula field in "On change of" in the Chart expert.
e.g. I have a parmeter on country and I have a chart which shows the last year sales year wise for the countries.
I create a formula field and put the below formula:
stringvar x = {?countryparameter};
Now i put this formula field in On change of so when i run the report i select the required country.
Hope this helps!!
Regards
Sourashree

Similar Messages

  • Create a line chart

    I wont to create a line chart using a a PL/SQL script. If is possible, i wont put this script inside a report created using Web DB, as an action that it must run after the show of the report html page. Is possible to make that? what i can do?
    Thanks a lot!
    null

    PL/SQL has no graphical capabilities whatsoever. However it is possible to represent values like this
    X A ----
    B --------
    C -----
    012456789
    Y
    in which for each row (the X axis) a substr() of the value '----------' is created using a value from the query (the Y axis).
    Is that clear? Let's try an example. To print graphically the lengths of a column:
    SELECT col1 as "X", substr('----------',1, length(col1)) as "Y"
    FROM your_table;Not very pretty I grant you. But if you want pretty you'll have to use Oracle Graphics (now part of the Developer toolset) or java.
    Good luck, APC
    null

  • Query for 'User Activity' Webi Line Chart using BO4.0 Auditor

    Need to create a webi line chart to measure  ‘user activity’ per month, year or day using BO4.0 Auditor on Oracle.    
    This question raises two sub-questions:
    What actions constitute user activity?  Is it concurrent logins by users?   I am confused if that would really give a true picture of user activity as users can log in and do nothing on the BO system.  
    If concurrent logins do in fact give a true picture of user activity then how do I go about creating a chart? What objects do I need to include in query?
    Please provide feedback?
    Thank u.

    Hi Ramil,
    Follow below steps to create a webi report for your requirement, launch Webi rich client and create a new webi report by selecting "BOEXI40-Audit-Oracle" (Audit universe)
    1) Select below objects in 'Result Objects' pane
    [Event Year], [Event MonthName],[Event DayofMonth], [Event Type], [User Name], [Total Event Count]
    2) Define below conditions in "Query Filter" pane
    [Event Type Id] In list 1015 AND [Event Year] In list "Select Year" (Prompt)
    3) Run query
    4) At report level create a new variable of type measure with the name "User Activity" with below formula
    =Count([Total Event Count]In([User Name];[Event MonthName];[Event DayOfMonth]) )
    (This formula will track  logout event of a each user in a day as well as in a month, it will take/count only one log out event of the user in a day as you desire)
    5) Create a table block as well as graphs as you desire
    i) For day wise user activity create a table/graph using: [Event DayofMonth], [User Activity]
    ii) For month wise user activity create a table/graph using: [Event MonthName], [User Activity]
    Let me know if you have any questions
    ~Manoj

  • Unable to create a Line chart

    Hi Friends,
    I am trying to create a Line Chart based on CalMonth, where I want to show no. of SalesOrg denoted by different lines separately according to their monthly sales.
    Please help.
    Regards,
    Jatin

    Hi,
    To create chart this is the process..
        1.      Before you begin publishing a chart, you need to specify which chart type ( Line chart in your case ) you want to display. You can determine how the data provider is to be built by using the class of the chart type.
           2.      Select an existing query or design a new query with which you can generate a suitable view of the data, that is, a suitable data provider.
           3.      Start the publishing process and create a new Web item of type Chart.
           4.      We recommend configuring the properties of the chart Web item as follows:
    ○       Expanded hierarchy nodes should be hidden.
    ○       Totals should be suppressed.
    ○        If you want to swap the data providers in the chart, you should assign the Swap Display Axes property to the chart. The columns and rows are then swapped automatically when the chart is generated. You do not need to change the view on which the chart is based.
           5.      When you edit the chart, the Web Application Designer or Web Application Wizard first shows the default setting, that is, a column chart.
    ○       Firstly, format the chart using the wizard so that the most important settings and the number of displayed data series and data points correspond to your data provider (see also Formatting a Chart Using the Wizard). Assign the required chart type to the chart and format the chart as required.
    ○       All chart elements that you can format are displayed in the list of properties on the right of the screen. You can modify the properties as required here.
    Also go through these links.
    line chart..
    [http://help.sap.com/saphelp_nw70/helpdata/EN/7e/daf830b46411d2961200a0c9308b1f/frameset.htm]
    Formatting chart..
    [http://help.sap.com/saphelp_nw70/helpdata/EN/7e/daf830b46411d2961200a0c9308b1f/frameset.htm]
    Hope it helps..
    Regards,
    Priti

  • Creating a Line Chart

    I would like to create a line/bar chart with the following details :
    y-axis  : total bytes in, total bytes out
    x-axis : hour
    I want to display each hour the number of bytes in/out transferred in a day.
    But my db doesn't have some hours which doesn't have data.
    i need to display another chart , for each 15 minutes(ex.if its 2 hour - 2:00,2:15,2:30,2:45) bytes in / out should be displayed for an hour.
    Any suggestions.
    Regards,
    Parsa.
    Edited by: parsa on Aug 7, 2008 11:35 AM

    Hi Ramesh
    For example you have a item field in your database but you do not have some values for them in the database.
    In this case you can create a formula field and assign the item names to the variable. In case you have more than on item, you can use an array as well (for help on array, simply open Crystal Reports Help -> Index -> Type array.)
    Now you can create a group based on that field and insert a chart.
    Hope it helps!!!
    Regards
    Sourashree

  • JDEV 10G: how to display the value of the line chart using jChart in JSP

    I have draw the line chart in JSP using the JChart and now I wan to display the value label in the line there..
    but the value wasn't show..
    anyone can help me..
    thx..

    Hi,
    what I do understand, you want to display the value of each point in your Line Graph.
    I guess you will be having BIGraph.xml file. In this file check the "Show Data Tips When Mouse is over bars" checkbox.
    Lets try with this.
    --Abhijit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How do I create an xy chart using two independent while loops?

    Hi everyone,
    I am trying to develop a data acquisition program. In this program, I have two independent while loops that each output a number of type double each iteration of the loop. I am able to successfully create two independent waveform charts (data vs. time) for each of the loops when it is placed inside. However, I now want to create an xy chart of the live data (the output of one loop is x and the output of the other is y).
    I am having trouble doing this because of the separate nature of the loops...when I try to pull data outside of the loops it (naturally) doesn't refresh with each loop iteration causing the xy chart to not work in the way I intend. Is there an easy way to fix this? If more clarification is needed, please let me know!
    David
    Solved!
    Go to Solution.

    Yes, more clarification is needed. Please attach your code to clarify.
    I'll take a wag at it, though. It sounds like you are trying to pair X and Y data which happen during a single time chunk, then repeat, is this right? (If not, don't bother to read on.) If so, why not just use a single loop. If your VI is getting too big/complicated for comfort, just put the data-generating stuff into subVIs which run to generate a single data point, then stop, put them into a while loop and send the putputs to a graph or chart inside the loop. That way you won't extend your data trace until you get one and only one point from each subVI and things will stay synchronized.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • Can't seem to draw a chart (line chart) using dates rather than numbers

    I'm trying to draw a Line Chart but rather using numbers i want to use dates for example: Switzerland 23/06/2008 - 23/08/2008. Can't seem to get it to work? it seems to all go wrong when I change the cell format to 'date'
    Can anyone help?
    Thanks
    PS. I can do it easily in Excel

    Hello
    From my point of view, it's not surprising.
    In XL, a date is a number to which a date format is applied. So, it may be charted.
    Same thing with the good old AppleWorks.
    With Numbers, a date is NOT a number, it IS a specific class of data.
    The consequence is that it can't be charted directly.
    Happily, we may easily convert a date into a number.
    In column B the formula is
    =A-$A$1
    which calculates the numeric difference between stored dates and the date stored in A1.
    So, we may chart the results.
    I know that it's far from perfect but we have to live with the choices made by Numbers's designers.
    Yvan KOENIG (from FRANCE vendredi 18 avril 2008 18:44:14)

  • How to create a line without using execute action method.

    Hi All,
    I want to create a line whose weight and co-ordinate are given to me. I am using ActionDescriptor and execute action method to do this.
    Here is my code:
        var idcontentLayer = stringIDToTypeID( "contentLayer" );
        var idStrt = charIDToTypeID( "Strt" );
        var idHrzn = charIDToTypeID( "Hrzn" );
        var idPxl = charIDToTypeID( "#Pxl" );
        var idVrtc = charIDToTypeID( "Vrtc" );
        var idPnt = charIDToTypeID( "Pnt " );
        var actRef = new ActionReference();
        actRef.putClass( idcontentLayer );
        var layerDesc = new ActionDescriptor();
        layerDesc.putReference( charIDToTypeID( "null" ), actRef );
        var lineDesc = new ActionDescriptor();
        lineDesc.putClass( charIDToTypeID( "Type" ), stringIDToTypeID( "solidColorLayer" ) );
        var propertyDesc = new ActionDescriptor();
        var strtPointDesc = new ActionDescriptor();
        strtPointDesc.putUnitDouble( idHrzn, idPxl,  startX);                         //startX, startY, endX, endY are given..
        strtPointDesc.putUnitDouble( idVrtc, idPxl, startY);
        var endPointDesc = new ActionDescriptor();
        endPointDesc.putUnitDouble( idHrzn, idPxl, endX );
        endPointDesc.putUnitDouble( idVrtc, idPxl, endY );
        propertyDesc.putObject(  charIDToTypeID( "Strt" ), idPnt, strtPointDesc );
        propertyDesc.putObject( charIDToTypeID( "End " ), idPnt, endPointDesc);
        propertyDesc.putUnitDouble( charIDToTypeID( "Wdth" ), idPxl, weight );               // weight is given.
        lineDesc.putObject( charIDToTypeID( "Shp " ), charIDToTypeID( "Ln  " ), propertyDesc );
        layerDesc.putObject( charIDToTypeID( "Usng" ), idcontentLayer, lineDesc );
        executeAction( charIDToTypeID( "Mk  " ), layerDesc, DialogModes.NO );
    Is there any other way to do the above (using photoshop scripting method)?
    Thanks,
    AI

    You can only create normal and text layers using the Object Model. For other layer types you have to use Action Manager.

  • Do you know -- any Free Class to create bar & line charts ??

    I want to find a free java class that can help me to create bar charts & line charts, can you tell me??
    thanks!

    google is your friend
    http://java-source.net/open-source/charting-and-reporting

  • Transforming XML data into SVG line charts using XSLT

    Hi
    I am trying to transform revenue data from an XML file into an SVG line chart. The problem is that I am quite new to XPath and XSLT and whereas I can draw the grid for my chart I struggle drawing the lines using the data from the XML doc.
    The XML look something like the one below, and I would like to have one chart for each product and in each chart having the time on the x-axis and chart the revenue by regions.
    Any help on this is much appreciated.
    Thanks
    Peter
    <?xml version="1.0"?>
    <revenue>
    <caption>
    <heading>My title</heading>
    </caption>
    <date name="01/01/2003">
    <region name="Asia">
    <product_a>30</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    </date>
    <date name="02/01/2003">
    <region name="Asia">
    <product_a>32</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>57</product_a>
    <product_b>31</product_b>
    <product_c>457</product_c>
    </region>
    </date>
    <date name="03/01/2003">
    <region name="Asia">
    <product_a>38</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>31</product_a>
    <product_b>9</product_b>
    <product_c>357</product_c>
    </region>
    </date>
    <date name="04/01/2003">
    <region name="Asia">
    <product_a>33</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>43</product_a>
    <product_b>16</product_b>
    <product_c>430</product_c>
    </region>
    </date>
    <date name="05/01/2003">
    <region name="Asia">
    <product_a>36</product_a>
    <product_b>12</product_b>
    <product_c>301</product_c>
    </region>
    <region name="America">
    <product_a>54</product_a>
    <product_b>1</product_b>
    <product_c>561</product_c>
    </region>
    </date>
    </revenue>

    You could try Jeni's XSLT utilities for SVG :
    http://www.jenitennison.com/xslt/utilities/svg-utils.html
    Specifically, the sample code provided, when a couple of SVG charts are being generated from XML data :
    http://www.jenitennison.com/xslt/utilities/svg-example.html
    Hope that helps.

  • How to draw a simple line chart using GRAPH_MATRIX_2D function

    Hello,
    can anyone help me with that function please,
    i couldn't draw a line graph with three data series, i mean with three lines in the graph.
    i want to the chart to be drawn as line graph at the beginning, i shouldn't have to change the chart type later,
    can anybody send me a sample code that does what i want.
    i am expecting your answers,
    thanks.
    Note: all answers will be pointed.

    Hi Ali,
    please refer to my reply [here|Re: drawing 2d line chart problem, urgent please!!!] and skip this thread. This is a copy of the other request.
    Regards
    Matthias

  • How to create dynamic line chart ?

    Dynamically create line on that graph.if select more than one values from multi select box , it will get id and execute query , draw the one more line on that graph.
    For example:
    oracle
    mysql
    sybase
    SQL server
    These are values in multiselect box.
    Now open the page with default value and show one line on the graph.Now i am going select another one values on multi select box.
    dynamically create another line on the same graph.
    How to do this graph ?

    jsf_VWP5.5.1 wrote:
    Any options in jasper reports ?Since when did jasper reports come into the picture?
    In any case, why don't you ask them, then? They should have some sort idea about it, I would think.

  • Creating a Line Chart in Apex

    Hi, I'm a new Application Express user, and I've been trying to create a chart region in one of the pages of an application I'm developing, only my queries fail and tell me that my tables that clearly exist do not exist. Btw, the table I'm querying exists in a different schema. Any ideas?

    Have you noticed the Oracle Application Express (APEX) forum?
    Could be a permission problem, but I'm only guessing.
    C.
    Message was edited by:
    cd

  • How do I create a line chart direct from xml or convert xml to ArrayCollection

    The xml is simple:
    <data>
    <row name="Q1">
    <expenses>64</expenses>
    <revenue>98</revenue>
    <profit>34</profit>
    </row>
    <row name="Q2">
    <expenses>44</expenses>
    <revenue>28</revenue>
    <profit>64</profit>
    </row>
    <row name="Q3">
    <expenses>14</expenses>
    <revenue>58</revenue>
    <profit>54</profit>
    </row>
    </data>
    it's dynamically generated as a string so could be created in xml format, or ArrayCollection, or any other format that works. However I can't find a example of using xml as the datasource that works. I've tried to convert it to an ArrayCollection first but that didn't work either.
    Alternatively I could store the data as a string "Month: "May", Profit: 2400, Expenses: 575, Amount: 456", then:
    expensesAC2.addItem({Month: "May", Profit: 2400, Expenses: 575, Amount: 456 });
    works but:
    var settings:String = resultXML.row[0];
    expensesAC2.addItem({settings});
    doesn't work. Any suggestions, or links to a tutorial that works would be really appreciated?

    Hi all,
    This issue was resolved off-line, however, I wanted to note a few points that were shared with me.
    Learnings from Forum discussion:
    Best practice is to use a combination of INDEX and MATCH functions instead of Vlookups.  Using the VLOOKUP function can result in a very slow dashboard if using a lot of data. 
    Also, when using the Filter Component note the destination field as the filter component does not copy the first filter value at all so you have to adjust by one column to accommodate for this (two columns if you have 3 filters etc).

Maybe you are looking for

  • Mini-DV to Video Adapter

    Hi: I'd like to connect my MacBook to an older 27" television and use it as a DVD player. The television uses S-Video and the MacBook is a 2008 version with a mini-DV port. From what I've seen on the Apple support website, the Apple Mini-DVI to Video

  • Different profit centers in 2 line item of a FI document

    Hi Experts, In FI document posted from billing has got 2 different  profit center on each line item,  I would expect to see same profit center on both line items,  can you please advise why they are different. We are working on 4.7 and no concept of

  • Mapping error :Collecting file : BpmPatternCollectTime

    Hi I am trying to use Multimapping with BPM,  for 3 files correlated based in some field value but mY collectpattern is not workin, Workflow shows errror in Message Mapping Runtime exception Attach Mapping http://img255.imageshack.us/my.php?image=map

  • Applet does not return a correct IP address

    I have an applet that when I run from within eclipse showes me my correct IP address. However as soon as I inserted this applet into JSP file I started to get just 127.0.0.1 address, always. What am I doing wrong ? import java.applet.Applet; import j

  • VPRS Condition amount varies in third party scenario.

    Hi, We all know that COST (VPRS condition value) in Invoice is fetched from MIRO in case of Third party sales scenario. When we have 2 quantity in PO for a particular item, I have completed the MIRO(Vendor Invoicing) & VF01 (Customer Invoicing) for 1