Plotting graphs week by week.

All
How would i plot a graph out that showed each week of the months data. So
select null link, clientname, trunc(avg(totalroundtripsecs),3) as " " from tablename where to_date(endate,'MM/DD/YYYY') 
    between (select trunc(add_months(sysdate, -1 )) from dual) and to_date((select trunc(sysdate) from dual))
group by clientnameSo the above would go back 1 month from today and show me all the data for that month. But if i wanted to break that up and say go the first week of this month and select all 7 days worth of data and show me it, and then go to the 2nd week of this month and show me all 7 days worth of dat. I guess something like the the add_months but for add_weeks

Hi smjohn,
Below are two tables of what we'd like to have on our weekly comparison. Either one would work. As you can see, it's a comparison between sales stage and Revenue for each Opportunity. It shows that for Opp A, Revenue this week and last week is the same, but Sales Stage differs. For Opp B, Revenue has increased by $500, 000, but the sales stage is still the same.
I don't know what capabilities analytics has, but this would be very useful for us. Any guidance would be great!
Thanks again.
**I formatted the tables, but it isn't coming through when I save... sorry about that.
Option 1:
*1. Week* *2. Opportunity Name*     *3. Revenue*     *4. Sales Stage*
Current Week     Opp A     $300,000     Definition
Last Week     Opp A     $300,000     Generation
Current Week     Opp B     $10,500,000     Validation
Last Week     Opp B     $10,000,000     Validation
Option 2:
*1. Opportunity Name*     *2. Revenue-Current Week* *3. Revenue-Last Week* *4. Sales Stage-Current Week* *5. Sales Stage-Last Week*
Opp A     $300,000     $300,000 Definition Generation
Opp B     $10,500,000 $10,000,000 Validation Validation
Edited by: user646604 on Jan 26, 2009 10:38 AM

Similar Messages

  • Scatter plot graphs, more than 2 series possible?

    It's been very difficult for me to put 3 or 4 series of data in scatter graphs and connect the dots with lines as in Excel, it just doesn't allow me. I made a graph before using line graph model but it turns out that in the x axis (which in this case is time in weeks) I need to show the distance proportionally (i.e. 0,2,6,12 and 16 weeks) and I can't find how to do it with a simple line graph. Tried in excel and is easy using the scatter plot graph (very simple, using exactly the same data arrangement). But numbers does not accept the series of data (it only accepts X,Y per series) and in second place there is not lines connecting the dots. Any of you guys have a suggestion?. I'd really prefer to use numbers bit do not why is so difficult to scatter graph the data. Thanks

    The default for X-Y pairs can actually be pretty handy, though often it is not. You can easily turn it into one X and a bunch of Y's. Connecting lines are also available.
    My assumption from your post is you have a column of X values and several columns of Y values.
    1) All data for a scatter plot must be in "normal" data cells, none in header cells.
    2) Select all the X & Y data and create a scatter chart.
    3) There is a "gear" at the top left of the colored box in the table that indicates the data in the chart. Click it and choose to share X values. Now you should have one column labeled "X" and several labeled "Y" and your chart will show each Y as a separate series.
    4) With the chart selected (the whole chart, not one of the series), go to the Chart tab of the inspector, go to the series tab, look for the words "connect points" and choose what kind of line you want to connect the points. Alternatively or additionally, you could make trendline curves by clicking on "advanced". Also, you can do them one at a time and choose different settings for each series by selecting each series separately.
    If you have gaps in your Y data, it will not connect the points on either side of the gap, you will have a missing line segment.
    If your X data is unsorted, some connecting lines may go right-to-left, not left-to-right.

  • Table date format - How can I display Week 1, Week 2, instead of the date?

    I would like to creat a table for my Gantt, that displays the week number unit, as I have as the middle tier in my timescale on the Gantt side of the view.  I cannot find how to do this anywhere.  I know I can change the way the date is displayed,
    format wise, while in the table edit area, however one of the choices is NOT the week #.  The data must exsist as the timescale displays it! 
    My goal is to creat a table that instead of showing the start date for a task, displaces the start week: i.e. Week 1, Week 2, ...ect.
    Any help is appreciated,
    Craig.

    Craig --
    Bad news, my friend.  What you want to do with the date format in the table cannot be done.  The format you see in the Timescale bar is simply not an available date option in any table.  Sorry.
    Dale A. Howard [MVP]
    VP of Educational Services
    msProjectExperts
    http://www.msprojectexperts.com
    http://www.projectserverexperts.com
    "We write the books on Project Server"

  • Multi plot graph - auxiliary curves

    I am in trouble with a multi plot graph. There is a wave chart that I have to plot an auxiliary line when the user clicks on the graphic. I know how to get the initial point and the final point of the auxiliar line. But I don´t know how can I plot this line in the same graph.
    Any ideas, sugestions or examples?
    Thank you in advance

    Speaking only for myself, I am not sure about the nature of your request.
    Could you please post some code showing an example of what you can do now and a jpg of what you desire.
    This may help us help you.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Why won't my data appear on my scatter plot graph in numbers?

    I'm making a scatter plot graph and I'm dealing with very small numbers on my x-axis, such as 0.0004 and 0.184 on my y-axis. Every time I plot the scatter plot graph, nothing appears on the graph. Can anyone please help me? Thanks.

    just to check in your notification centre,(settings>Notification centre>Messages) did you enable show alerts from everyone? if so
    Do a reset by holding the power and home button until the apple logo appears ignoring the slide to power off (no data loss).

  • I have created a form which needs to be completed once a week for 6 weeks. On completing week 1, weeks 2 - 6 are completed at the same time with week 1 information. please help?

    I have created a form which needs to be completed once a week for 6 weeks. On completing week 1, weeks 2 - 6 are completed at the same time with week 1 information. please help?

    Hello, thanks for replying.
    Yes they just copy to the next page, the fields are the same. The document is an observation to school lessons so it needs to be consistent but with different data on.

  • Read data from XML file and plot graph on Ms Words

    Hi,
    I'm using Visual Studio 2010, what I want to do is written in the title.
    so far i was able read and plot graph on a Form but i unable to use the same method on Crystal Reporting.
    The method plotting in Crystal Reporting is complicated and it require a fix data set or database which is not suitable for my case because every time the number of column and row or data will be different. (this is what i think base on what i found)
    is there a way for me to display the output on a ms words?
    and what is the method.
    thanks.

    Hi Huangcongmazhananzi,
    Based on your description, I’m afraid that it is not the correct forum for this issue, since this forum is to discuss the VS IDE.
    I might not have the correct detailed answer you need, but I might lead you into the right direction to solve your problem.
    If this issue is related to the Windows Forum app, this forum would be better:
    http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    But if it is related to the Crystal Reporting, you could post the issue here:
    http://forums.sdn.sap.com/forum.jspa?forumID=313&start=0
    is there a way for me to display the output on a ms words?
    If it is related to the Office, maybe you could select the correct forum here:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?category=officedev
    Best Regard,
    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.

  • IOS 8 - my calendar doesn't scroll forwards from week to week since updating to IOS any ideas to help?

    SMain with updating to IOS 8 my iPad calendar doesn't scroll forwards from week to week. Any idess on what I can do?
    thanks

    That works for me. Can you clarify exactly what you are doing and what happens?

  • Report Issue: Previous Weeks, Current Week and Next Week Values

    Hello Folks,
    this is a typical requirement...at-least typical for me..
    we have 20 weeks of data at weekly level. we have four Metrics out of which two are coming from Database and rest two are calculated metrics.
    Metric0: On Hand Qty
    Metric1: Past Qty
    Metric2: sell Qty
    Metric3: unsell qty
    Metric4: Total Qty
    the report will always be shown for 20 weeks, but depending on whats my current week, all the past weeks should be flagged as Past Week. (so i wrote a case statement for this). for Instance: I am in Week11, so my weeks in should be Past Week, Wk11, Wk12.........Wk20.
    Metric 1 is always dependent on result of Metric4 (This is the Complexity) per week basis
    Metric1 for Past weeks value in Week Column will be wk1 to wk10 On Hand Qty (fox ex: 80)
    Metric4 for Pass Weeks Value in Week Column will be Metric1 for Pastweeks + Metric2 for Past Weeks (For Ex: 20) (Past weeks mean wk1 to wk10)
    value of Metric4 is now 100
    Metric1 for Week11 Now should 100 (From Past weeks Calculation)
    Metric4 for Week11 will be Metric1 for Week11(100) + Metric2 for Week11(10) + Metric3 for Week11 (10)
    Now...Metric1 for Week12 will be 120 which is wk11 total (100+10+10) and goes on Until Week 20
    Any Ideas how to achieve this in obiee 10g
    Thanks
    Rake

    Please try out in this way....
    Database level --Create opaque view & procedure or function  to get the week total,week ago total, current week , Past week ,future week & do rpd modelling and use PIVOT VIEW.
    At answers:
    1.Here Previous week M4 is the current week M1 which means it is a cumulative value carried forward week by week.
    2. M2 & M3 are direct database columns.
    3. You have time hierarchy with WEEK Level.
    M1 - ago(rsum(m2+m3),weeklevel)
    M4- RSUM(M2+M3)
    week -AGO(RSUM(M2+M3)- M2-M3-RSUM(M2+M3)
    w1-0-10-20-30
    w2-30-11-21-62
    w3-62-12-22-96
    Now you can PIVOT IT to get in
    W1-W2-W3
    M1 0 - 30-62
    M2 10-11-12
    M3 20 -21-22
    M4 30 - 62-96
    NOW PASTWEEK (W1-W10), CURRENT WEEK(W11)-W12
    1.as you see cumulative here you need to use BINS.means ( case when week <= currentweek(maybe variable) then prior) else week)
    2. UNION - combine similar request - First cirteria week <= w11 and second criteria week > week 11 --combine pivot it. Use sum agg in fx criteria1.
    Hope this should solve your pblm at answers.
    Edited by: MK on Oct 27, 2011 12:48 PM

  • Week-by-Week Sales Stage Reporting

    Hi,
    We're trying to have a week by week report where the Opportunities have a Sales Stage comparison by week. Ideally, we'd like two columns for sales stage such as "Sales Stage Previous Week" and "Sales Stage Current Week". I've tried various SQL expressions, etc and nothing has seemed to work correctly. I was looking through some notes and thought about maybe using Combined Reports with historical and real-time information. I don't even know if this approach is appropriate..
    We're really at a roadblock at the moment. If anyone has any additional suggestions, they would be appreciated.
    Thanks in advance.

    Hi smjohn,
    Below are two tables of what we'd like to have on our weekly comparison. Either one would work. As you can see, it's a comparison between sales stage and Revenue for each Opportunity. It shows that for Opp A, Revenue this week and last week is the same, but Sales Stage differs. For Opp B, Revenue has increased by $500, 000, but the sales stage is still the same.
    I don't know what capabilities analytics has, but this would be very useful for us. Any guidance would be great!
    Thanks again.
    **I formatted the tables, but it isn't coming through when I save... sorry about that.
    Option 1:
    *1. Week* *2. Opportunity Name*     *3. Revenue*     *4. Sales Stage*
    Current Week     Opp A     $300,000     Definition
    Last Week     Opp A     $300,000     Generation
    Current Week     Opp B     $10,500,000     Validation
    Last Week     Opp B     $10,000,000     Validation
    Option 2:
    *1. Opportunity Name*     *2. Revenue-Current Week* *3. Revenue-Last Week* *4. Sales Stage-Current Week* *5. Sales Stage-Last Week*
    Opp A     $300,000     $300,000 Definition Generation
    Opp B     $10,500,000 $10,000,000 Validation Validation
    Edited by: user646604 on Jan 26, 2009 10:38 AM

  • Why cant i download music in the Uk the same time as the USA why do we have to wait weeks and weeks to download music when other countries can download it straight away?

    #itunes store. Why cant i download music in the UK the same time as in the USA? Why do we have to wait weeks and weeks to downloand music when other fans can dowload music in other coutries when it is released in the US?

    Itunes can only provide what the owners of the distribution rights to the music provide.
    If the owner of the rights do not provide it, then itunes cannot sell it.
    You would have to ask the owners of the distribution rights in each country why they do not provide them at the same time.

  • Previous week / Next Week

    How can i implement Previous week / Next Week, like previous n / next n records?
    Can you please send me links for implmentation code or help me implement?.
    Please help.
    thank you.
    Previous / Next n Records
    http://tutorial20.easycfm.com/index.cfm?fuseaction=tutorial&tutorialID=20http://tutorial20.easycfm.com/

    This is how i make the Next and previous link.
    == At the top of the page ==
    <cfparam name="URL.StartRow" default="1">
    <cfset NextRow = URL.StartRow + 25 />
    <cfset PreviousRow = URL.StartRow - 25 />
    <cfif PreviousRow LTE 0>
      <cfset PreviousRow = 1 />
    </cfif>
    == Next and previous links ==
    <cfif NextRow LTE QueryName.RecordCount >
      <a href="#CGI.SCRIPT_NAME#?StartRow=#NextRow#">Next page</a>
    <cfelse>
    </cfif>
    <cfif PreviousRow LT URL.StartRow>
      <a href="#CGI.SCRIPT_NAME#?StartRow=#PreviousRow#">Previous</a>
    <cfelse>
    </cfif>
    == Query results ==
    <cfoutput query="QueryName" startrow="#URL.StartRow#" maxrows="25">
    #Your output goes here#
    </cfouput>

  • Creating Hierarchy Year-Month-Week-Dayof Week.

    Hi,
    We have a requirement to create new HR report - Labour Efficiency.
    We require 'Date of work' in BI report.
    It takes value from CATSDB table, WORKDATE field in R/3. Its Data Type- DATS , Integer length 16, output length 10.
    But in BI report they want hierarchy Year-Month-Week-Dayof Week  for this 'Date of work' field.
    How this can be achieved?
    Edited by: Amruta_Kedar on Sep 6, 2011 8:18 AM

    Hi Dilek,
    I have checked out the link and procedure given.
    I have never used this option neither any of the time hierachie is active in our system. Could you please elaborate how we used these hierarchies in BEx?
    I am confused which hierachy is to be selcted here. I didnt find any hierarchy Year-Month-Week-Dayof Week.
    Also, where do we activete these hierarchies (R/3 or BI side) ?
    Another question : 'Date of work' infoobject should be a characteristic of type DATS or a key figure of type DATE??
    which option will be better to do this kind of analyis on date?

  • Save plot/graph as JPEG or other image file

    Is it possible to save a plot / graph as a Jpeg or other image format??
    Insteat of writing to a spreadsheet file??

    Hello,
    I've done somthing like that in one application and the example it's on the attached pic.
    basically it's:
    1 - create graph reference (right click and choose create reference)
    2 - pick a method called "get image"
    3 - save the image to file.
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    save graph.JPG ‏51 KB

  • How can I change the start day of the week for weekly view?

    How can I change the start day of the week for weekly view?
    <P>
    This function is configured in the code in file <loadpoint>/CalendarServer/cal/uicust/en/main.html:
    <P>
    i18n['def first day'] = '1';
    <P>
    Note: 0 is Sunday, 1 is Monday, etc.

    Click system perferences below ur screen then click language&text and you just select ur peference langauge

  • How can I call the jFreeChart to plot graph and get the result in Servlet?

    I want to use jFreeChart to plot time series graph, and then output the result in Servlet. How can I call the jFreeChart to plot graph and get back the result? Any source code for example? Thanks a lot!!

    Dave,
    ServletDemo1 and others were not in the distribution that I got (jfreechart-0.9.4). I found them under the premium demos somewhere in com/refinery/chart/demo/premium, but could not compile. They're complaining, among other things, about missing classes/packages com.refinery.date.SerialDate and com.refinery.ui. Am I using a wrong version of jfreechart?
    Thanks,
    -Alla
    There is a very simple servlet demo in the JFreeChart
    distribution:
    src/com/jrefinery/chart/demo/ServletDemo1.java
    This simply sends back an image to the browser.
    A second demo, which embeds the chart in an HTML page
    is:
    src/com/jrefinery/chart/demo/ServletDemo2.java
    src/com/jrefinery/chart/demo/ServletDemo2ChartGenerator
    java
    ...includes a time series chart as one of three
    options.
    Regards,
    Dave Gilbert
    JFreeChart Project Leader
    http://www.object-refinery.com/jfreechart/index.html

Maybe you are looking for

  • Using Variables in the sym.play statement

    I have built a menu system consisting of a main menu with three options and a single sub-menu animation that should stop at one of three different spots on the timeline depending on which main menu button is clicked. For each main menu button I have

  • Error when loading LCDS application

    Hi, I'm implementing an application using LCDS 3.1 data management service together with Fiber. I got the following error occasionally during the loading of my application in browse window. Error: DataService error. Configuration not present.        

  • How to add From date & To date in PLD

    Dear Experts, How can i add From Date & To Date in Manage Previous External Reconsilation PDL? I am using inbuild SAP PDL.. In Manage Previous External Reconsilation-Selection Criteria I am selecting  GL Acc & Date From & Date To. Date From & Date To

  • I am unable to get yahoo to "stick" as my homepage after I close the browser.

    Am setting home page properly. Others have checked.When I close the browser and re open I get the Mozilla start page as my home page instead of Yahoo.

  • Standalone agent in odi console

    Hi I have weblogic server running in my unix machine with odi console I have my standalone agent running in windows. When I run in studio with the standalone agent it is fine. But when i go into console it says localhost is unreachabe. I also gave th