Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

eazyBI - a "subset" of dimension members

Edited

With reference to an old discussion here: https://community.atlassian.com/t5/Jira-questions/EazyBI-How-to-filter-so-I-only-see-a-subset-of-a-dimension/qaq-p/15038

I've been using this technique for a while now. In my latest report for a different purpose, I have run into a puzzling snag with this. I'm basically trying to aggregate certain transitions and summing the "days in transition status" measure. I'm trying to sum up all the transitions that end with "Test Ready". Here is what I have used:

Aggregate({
Generate(Filter(NonEmptyCrossJoin(
Descendants([Transition].CurrentMember, [Transition].[Transition]),
[Measures].DefaultMember),
trim([Transition].CurrentMember.Name) MATCHES '.*Test Ready$'),
[Transition].[Transition].CurrentMember )
})

 

My input "data set" is:

Open => Test Ready
In Progress => Test Ready
Reopened => Test Ready
Resolved => Test Ready
In Review => Test Ready
Refining => Test Ready
Integration Test Prep => Test Ready
Test Ready => Test Ready
Testing => Test Ready
Ready For Release => Test Ready
Ready => Test Ready
Committed => Test Ready

The MDX logic is picking up 9 of the above, except for these three:

Resolved => Test Ready
Refining => Test Ready
Ready For Release => Test Ready

Why would the pattern match everything else but these three? I've almost gone insane trying to figure out what's wrong. And I am sure it's something pretty silly that I have missed. Can someone help please?

2 answers

Hi,

The formula looks correct, indeed. A bit more compact version should do the same:

Aggregate({
Filter([Transition].[Transition].Members,
trim([Transition].CurrentMember.Name) MATCHES '.*Test Ready$')
})

Note that eazyBI creates only those members in the dimension having any corresponding measures. In other words, eazyBI create transitions if those are present in the imported data set.

If that does not explain the problem, please, put a support ticket. The report definition will be needed.

Kindly,

Janis, eazyBI support

0 votes
Fabian Lim Community Leader Nov 19, 2021

Hi @Shyam Suyambu

It looks like it's alright. 

I would just type in all the transitions if you are still having issues.  Not ideal, but it will work. 

Regards,

Fabian

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

36 views 0 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you