Filter issues based on labels - EXCLUDE issues - eazyBI

Hello eazyBI team!

Is it possible to EXCLUDE issues from the report result based on the labels dimension?

I know how to INCLUDE issues with particular label/labels in the report. All I need is to put Label dimension in the Pages section and then choose appropriate labels. Like this:

image2015-10-28 15:30:19.png

But what I need is the opposite. I need to select those labels that I do not want to show related issues in the report. Is this possible? I do not want to manually select all labels except the required ones (there are more than 500 labels in total).

How can I achieve this?

I look forward to hearing from you soon.

BR

Samuel

 

2 answers

1 accepted

Hi Samuel,

Sorry for such delay in answering this!

This would be similar as selecting the labels you are interested in. Only you can create a calculated member in Labels dimension where you exclude the label you do not wish to see and then select this calculated member. 

The formula for this would be simple - subtract the label you do not wish to see from Default All labels member

[Label].DefaultMember - [Label].[demo]

Or you can use the Except(..) function as follows

Aggregate(
  Except(
    [Label].[Label].Members,
    {
      [Label].[demo 1],
      [Label].[demo 2]
    }
))

 

Kind regards,
Lauma / support@eazybi.com

Dear Lauma,

thank you for your answer!

In the meantime I managed to solve my request by excluding particular issues with certain labels when importing data into the cube (additional JQL query).

Anyway, this is still useful for me. Many thanks. I will use this for sure in one of upcoming reports in our eazyBI instance.

 

I already tried your hints. The first one works as expected.

[Label].DefaultMember - [Label].[TLI] - [Label].[Top5]

#Issues with TLI label = 26
#Issues with Top5 label = 15
#Issues in total = 18,737
When I selected the member, total issues count (measure issues created) = 18,696 OK

 

Then I tried the second hint:

Aggregate(
  Except(
    [Label].[Label].Members,
    {
      [Label].[TLI],
      [Label].[Top5]
    }
))

I selected this member and got total issues count (measure issues created) = 20,132 NOK

Did I make some mistake?

 

All the Best
Samuel

Hi Samuel,

No, there are no mistakes from your side. Issue can have several labels. In case of aggregating, if issue has more than one label, it is counted once for each of the labels, showing more issues in total. This actually shows how many times the labels have been added.

To get the distinct count of issues on total level, use the Distinct issues count measures.

Kind regards,
Lauma / support@eazybi.com 

Hi Lauma,

ahaaa, now I understand smile You are right.

Many thanks for support.

 

Best Regards

Samuel

Hi @Lauma I have wc label and I created a calculated member in the Labels dimension but it seems not to work

Captura de pantalla 2017-11-09 a la(s) 11.11.10.png

What I am doing wrong here?

Thanks

Any ideas on this? :)

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published 8 hours ago in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

30 views 0 3
Read article

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