Solved Graphs based on Query

StuartG

Registered User.
Local time
Today, 18:42
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: 272
Can you post a sample db?
 
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.
 
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
 
you Create a New Column on your Query:

Field: Expr1: Year([Order Booked])
Show: (no tick)
Criteria: Year(Date())
 
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?
 
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

Back
Top Bottom