Weekly filter for eazyBI

Steven Behnke Community Champion Jul 31, 2014

I've tried to write a Calculated Member in the Time Dimension like so:

Aggregate(Filter(
  [Time.Weekly].Members,
  DateBetween([Time.Weekly].CurrentMember.Name,'1 month ago','1 month from now')
))

but it doesn't work. It gives me this error:

Any help?

1 answer

1 accepted

Error is because you defined member in default Time hierarchy and formula uses Time.Weekly hierarchy. Please change [Time] to [Time.Weekly]. There is some small adjustments needed for this formula, too. You probably wanted only week members, not all including dates. And better use StartDate instead of member name.

Aggregate(Filter(
  [Time.Weekly].[Week].Members,
  DateBetween([Time.Weekly].CurrentMember.StartDate,
    '1 month ago','1 month from now')
))

Steven Behnke Community Champion Aug 04, 2014

That appears to be close because I get the totaled values in the Calculated Member column. I know I gave this same code a shot, (minus the .StartDate tip vs membername, that I didn't know!)

However, when I attempt to drill-into or expand this Calculated Member, I receive the same error listed in my question above. You are correct to assume that I am interested in the Week members, these results are used in reports concerning various past, current, and future sprints.

Please check if you really have defined calculated member for [Time.Weekly] hierarchy. See highlighted area in screenshot

Steven Behnke Community Champion Aug 04, 2014

Thank you for your patience, it seems so obvious now. That seems to work as expected. Thank you for your assistance with MDX and eazyBI.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,128 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot