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

Create a date iterator object

Fiscal Year

Fiscal Quarter
FQ Start Date FQ End Date 2012 1 10/1/2011 12/31/2011 2012 2 1/1/2012 3/31/2012 2012 3 4/1/2012 6/30/2012 2012 4 7/1/2012 9/30/2012

I have a report matching the above format showing the first and last day of our fiscal years (start in October here).

I'm wanting to create a table that populates every date within the fiscal quarter. It would look like this:

Fiscal Year Fiscal Quarter
Date 2012


10/1/2011 2012 1 10/2/2011 2012 1 10/3/2011 2012 1 10/4/2011


2012 1 12/30/2011 2012 1 12/31/2011 2012 2 1/1/2012 2012 2 1/2/2012

I assume I'd utilize the DateRelative() function and have a reset argument somehow.

Any Idea on how I'd accomplish this?


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 14, 2015 at 10:08 AM

    What's your data source? If you're over a normal database (rather than BW), then create an extra data provider to just return the list of dates that you want from your calendar table (if you have one - if you don't, you should create one given you don't have a January to December fiscal year). Merge the queries on date and then use the date from the new data provider, qualifying it with the query name, i.e. =[Query].[Date Object] rather than just =[Date Object]

    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.