A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

modify crosstab query to fiscal qtrs rather than calandar qtrs



 
 
Thread Tools Display Modes
  #1  
Old June 25th, 2008, 02:28 PM posted to microsoft.public.access.queries
Lisacu
external usenet poster
 
Posts: 3
Default modify crosstab query to fiscal qtrs rather than calandar qtrs

I need to provide quarterly data based on our fiscal year, not the calendar
year. I am able to create a crosstab query, but don't know how to modify it
for our fiscal year. Thank you
  #2  
Old June 25th, 2008, 02:37 PM posted to microsoft.public.access.queries
scubadiver
external usenet poster
 
Posts: 1,673
Default modify crosstab query to fiscal qtrs rather than calandar qtrs


Create a query with a new field that classifies the months into quarters and
use that as the source for the crosstab.

"Lisacu" wrote:

I need to provide quarterly data based on our fiscal year, not the calendar
year. I am able to create a crosstab query, but don't know how to modify it
for our fiscal year. Thank you

  #3  
Old June 25th, 2008, 02:57 PM posted to microsoft.public.access.queries
Lisacu
external usenet poster
 
Posts: 3
Default modify crosstab query to fiscal qtrs rather than calandar qtrs

Thanks for the reply. Please explain more.

"scubadiver" wrote:
Create a query with a new field that classifies the months into quarters and
use that as the source for the crosstab.

"Lisacu" wrote:

I need to provide quarterly data based on our fiscal year, not the calendar
year. I am able to create a crosstab query, but don't know how to modify it
for our fiscal year. Thank you

  #4  
Old June 25th, 2008, 03:16 PM posted to microsoft.public.access.queries
scubadiver
external usenet poster
 
Posts: 1,673
Default modify crosstab query to fiscal qtrs rather than calandar qtrs


If you could provide more information about what you have already then my
response might be more constructive.

Presumably you are basing your crosstab on another table or query? Add the
following as an extra field in the query

Quarter: Format([datefield], "q")

It will then classify the dates into 1,2,3 or 4 starting from January. As
said, you can use that new field in the crosstab.



"Lisacu" wrote:

Thanks for the reply. Please explain more.

"scubadiver" wrote:
Create a query with a new field that classifies the months into quarters and
use that as the source for the crosstab.

"Lisacu" wrote:

I need to provide quarterly data based on our fiscal year, not the calendar
year. I am able to create a crosstab query, but don't know how to modify it
for our fiscal year. Thank you

  #5  
Old June 25th, 2008, 07:01 PM posted to microsoft.public.access.queries
Lisacu
external usenet poster
 
Posts: 3
Default modify crosstab query to fiscal qtrs rather than calandar qtrs

You're correct. I based the crosstab query on another query. And I have
already used Quarter: Format([datefield], "q"), which produced quarters from
Jan on, but my desire is for Q1 to reflect Jul-Sep, Q2 to reflect Oct-Dec,
and so on, based on our fiscal year Jul-Jun. Any ideas?

"scubadiver" wrote:


If you could provide more information about what you have already then my
response might be more constructive.

Presumably you are basing your crosstab on another table or query? Add the
following as an extra field in the query

Quarter: Format([datefield], "q")

It will then classify the dates into 1,2,3 or 4 starting from January. As
said, you can use that new field in the crosstab.



"Lisacu" wrote:

Thanks for the reply. Please explain more.

"scubadiver" wrote:
Create a query with a new field that classifies the months into quarters and
use that as the source for the crosstab.

"Lisacu" wrote:

I need to provide quarterly data based on our fiscal year, not the calendar
year. I am able to create a crosstab query, but don't know how to modify it
for our fiscal year. Thank you

  #6  
Old June 26th, 2008, 08:29 AM posted to microsoft.public.access.queries
scubadiver
external usenet poster
 
Posts: 1,673
Default modify crosstab query to fiscal qtrs rather than calandar qtrs


If you haven't already worked it out:

Q: IIf([Quarter]3,[quarter]+2,[quarter]-2)


"Lisacu" wrote:

You're correct. I based the crosstab query on another query. And I have
already used Quarter: Format([datefield], "q"), which produced quarters from
Jan on, but my desire is for Q1 to reflect Jul-Sep, Q2 to reflect Oct-Dec,
and so on, based on our fiscal year Jul-Jun. Any ideas?

"scubadiver" wrote:


If you could provide more information about what you have already then my
response might be more constructive.

Presumably you are basing your crosstab on another table or query? Add the
following as an extra field in the query

Quarter: Format([datefield], "q")

It will then classify the dates into 1,2,3 or 4 starting from January. As
said, you can use that new field in the crosstab.



"Lisacu" wrote:

Thanks for the reply. Please explain more.

"scubadiver" wrote:
Create a query with a new field that classifies the months into quarters and
use that as the source for the crosstab.

"Lisacu" wrote:

I need to provide quarterly data based on our fiscal year, not the calendar
year. I am able to create a crosstab query, but don't know how to modify it
for our fiscal year. Thank you

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.