Filter issues based on labels - EXCLUDE issues - eazyBI

Samuel Titka October 28, 2015

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

3 votes
Answer accepted
Lauma Cīrule
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2016

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

Samuel Titka February 22, 2016

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

Lauma Cīrule
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2016

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 

Samuel Titka February 22, 2016

Hi Lauma,

ahaaa, now I understand smile You are right.

Many thanks for support.

 

Best Regards

Samuel

Sebastián Delmastro November 9, 2017

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

Shenghan Gao June 7, 2019

Hi @Lauma Cīrule ,

 

Is there a way to expand the calculated dimension member like a normal dimension on drop down list? 

0 votes
J.M. October 18, 2018

@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? 

Lauma Cīrule
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 19, 2018

Hi @J.M.!

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

0 votes
Samuel Titka November 5, 2015

Any ideas on this? :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events