Solved Graphs based on Query (1 Viewer)

StuartG

Registered User.
Local time
Today, 14:06
Joined
Sep 12, 2018
Messages
125
Hi all,
I have created some Graphs based on a query but the results are not reporting my requirements.

Issue
Below is the query
I only wanted it to include all orders apart from orders not yet booked.

1623683819427.png


Graph output

No records showing


Desired Effect.
I would like the graph to show only records that are created within 2021 QTRs, but needs to reset when the next year happens.
Using the criteria outlined above.

Can anyone point me in the right direction where I could be going wrong?

Thanks
Stuart
 

Attachments

  • 1623683560671.png
    1623683560671.png
    16.8 KB · Views: 232

theDBguy

I’m here to help
Staff member
Local time
Today, 06:06
Joined
Oct 29, 2018
Messages
21,467
Can you post a sample db?
 

Minty

AWF VIP
Local time
Today, 14:06
Joined
Jul 26, 2013
Messages
10,371
I think you would want
Code:
Year([Opened Date] = Year(Date())
in the criteria not
Code:
[Opened Date] = Year(Date())

Assuming [Opened Date] is a full date field.
 

StuartG

Registered User.
Local time
Today, 14:06
Joined
Sep 12, 2018
Messages
125
I think you would want
Code:
Year([Opened Date] = Year(Date())
in the criteria not
Code:
[Opened Date] = Year(Date())

Assuming [Opened Date] is a full date field.

Hi Minty, thanks for the reply.
I did that on the order booked column as i learnt that users want to see it by the date the order was booked.

I copied as you had done.

1623745662523.png
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:06
Joined
May 7, 2009
Messages
19,230
you Create a New Column on your Query:

Field: Expr1: Year([Order Booked])
Show: (no tick)
Criteria: Year(Date())
 

StuartG

Registered User.
Local time
Today, 14:06
Joined
Sep 12, 2018
Messages
125
you Create a New Column on your Query:

Field: Expr1: Year([Order Booked])
Show: (no tick)
Criteria: Year(Date())

Thanks Arnel that seems to have cracked it.
I guess that will show each QTR through this year and then revert to QTR 1 next year?
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:06
Joined
May 7, 2009
Messages
19,230
I guess that will show each QTR through this year and then revert to QTR 1 next year?
it should, since you are using Date() function (current date).
unless you delayed or advanced your computer date?
 

Users who are viewing this thread

Top Bottom