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


PeriodToDate not working when no data in month

PeriodToDate not working when no data in month

PeriodToDate not working when no data in month

I've created a PeriodToDate calculated field in my cube to add the sales of a product from the start of the year and I'm using a Time Hierarchy Year-Month to show it. The calculated field has no empty behavior field. I left it blank.

I have the following problem. Lets say I have 2 products A and B and A has sales on Jan and Feb, but B has only sales in Jan. When I show the data and I drill down to month I get the correct PTD for every month till Dec. But when I apply a filter to show only Feb then only product A is shown and B which has no sales in Feb is not showing. But it should be shown with the PTD having only the JAN data. So the total PTD for Feb is not correct. I actually miss the JAN sales of product B.

Is there a workaround for this. Every effort was unsuccessful.

ilias k.

RE: PeriodToDate not working when no data in month

The problem has been solved after a hint from someone.
The PTD calculated field was build on a [Time].[Year - Month] hierarchy. But I was filtering the data using two filters. [Time].[Year] (works ok) and [Time].[Month of Year] that caused the problem.

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!

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