Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


fact with start and end date

fact with start and end date

fact with start and end date

Transactions in my source system have start and end dates. In other words, a transaction/fact is valid during a time period specified by start and end date. so for example, suppose there are two transactions in the source system as following:

(Tran-name:T1 , start-date:   "1/1/2009"      , end-date : "5/1/2009" , Tran$ : $150)
(Tran-name:T2 , start-date:  "1/1/2009"      , end-date  :"2/25/2009", Trans$:  $200)

In this case, when a reporting period of Jan 2009 to March of 2009 is selected, and Month attribute is included in the report, the report should look like the following:

Month     Tran-count          Tran$
Jan             1             $150
Jan             1             $200
Total           2             $350   
Feb             1             $150
Feb             2             $200
Total           2             $350
March          1            $150
Total           1             $150  
Grand TOTAL  2        $350

Any ideas about how to implement the Tran$ and Tran-count metrics ?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close