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

 

3 answers

1 accepted

2 votes
Accepted answer

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 Cīrule 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? :)

@Lauma Cīrule I used the 

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

suggestion to filter out a specific label however i'm getting the 60 second timeout when I use it. Is the other option more ideal? 

Hi @John-Michael Talarico!

This particular calculation for Labels is correct, but it strongly depends on other calculations and configuration of the report. Probably it is better if you share more details about your report (including report definition) to eazyBI support to see what could be causing the timeout in loading results.

Lauma / support@eazybi.com

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

222 views 6 0
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