Skip to Content
author's profile photo Former Member
Former Member

Group graph data to display quarterly

Hi All,

I have a graph as below, but I would like combine the records into quarter of year. Can this be done and how?

Example:

2015 - Quarter 1: Jan 2015 - Mar 2015

2015 - Quarter 2: Apr 2015 - Jun 2015

2015 - Quarter 3: Jul 2015 - Sep 2015

2015 - Quarter 4: Oct 2015 - Dec 2015

2016 - Quarter 1: Jan 2016 - Mar 2016

My graph setting as below:

Category = string(duedate,"mmm")+' '+string(duedate,"yy")

Value = 100*(count(wono for graph)/count(wono))


Please advise.

Thank you.

graph2.JPG (18.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 15, 2015 at 11:49 AM

    To calculate the Quarter from a date in the datawindow you can use this:

    1 + int ((month (duedate) - 1) / 3)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 15, 2015 at 11:35 AM

    Hi Yow;

    FWIW: I do this in my SQL using the "Group By" clause ... for example (click here).

    Regards ... Chris

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 15, 2015 at 12:54 PM

    Hi All,

    Thanks for help and my question is answered well.

    Thanks a lot.

    Regards,

    Yow

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.