Percentage calculation with Label

Ignacio Amoros November 15, 2021

Hi,

Let me share my problem with eazyBI. I need to calculate the following percentage:

Hours from issues with Label=FWK / Total number of hour of all issues.

It seem easy but it is not, although the number of label = FWK it is correctly shown in Rows but when trying to complete the formula in Measures, the value it is never coming.

I attach a document for more clarification.

Label percentage.pngThank you.
Ignacio.

 

3 answers

2 accepted

1 vote
Answer accepted
Ignacio Amoros November 15, 2021

The correct second screenshot is:

[Measures].[Horas Framework vs Total %] =

[Measures].[Horas Framework]/[Measures].[Hours spent]

0 votes
Answer accepted
Janis Plume _eazyBI_
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.
November 15, 2021

Hi,

 

The recommended solution is to use the standard calculation for the percentage of total:

Pasted_Image_16_11_2021__08_38.jpg

In this case, note that Label is a multi-value field, and hours are counted for all labels the issue has.

The formula of a custom measure if you wish to avoid the use of the Label dimension in the report:

 

([Measures].[Hours spent],
[Label].[FWK])
/
([Measures].[Hours spent],
[Label].DefaultMember)

Kindly,

Janis, eazyBI support

Ignacio Amoros November 16, 2021

Thank you so much! I will try that.

Best regards.

Ignacio Amoros November 16, 2021

Hi Janis,

That formula is what I definitely needed. Thank you so much.

Best regards.

Ignacio.

0 votes
Ignacio Amoros November 15, 2021

Sorry, there was a mistake in my screenshot. This is the correct one.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events