How to calculate the % of component/s in eazyBI

JIRA_USER April 5, 2017

Hi Professionals,

I am building an EazyBI report where I have Project in Row and Custom field "Root Cause_1" in Columns. Now the dropdown value of Root Cause_1 are Aggregate(total), similarly Components in Project are Aggregate.

The issue I have is When I want the "Defect Quality %" in Parent Component/s, I am getting the sum of each somponent/s. How do I get the % at the parent level?

The screen cap to cover the description is attached.

Please assist.

Thanks

EazyBI.PNG

 

2 answers

0 votes
Zane eazyBI Support
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.
July 18, 2017

Hi,

All mathematical calculations including percentage calculations should be done in "Measures" (not in any other dimension). 

It seems this report lacks any measure and it leads to unpredictable results.

Suggestion from T S gives you a right direction how to create percentage (%) measure.

If you still need more detailed assistance, please contact support@eazybi.com and send your exported report definition.

 

Zane
eazyBI Customer Support Consultant

0 votes
morrcahn April 19, 2017

What does your code look like? 

Have you tried using a case statement for when the current member is the parent? Something like the following:

CASE WHEN [Time].CurrentHierarchyMember IS
  [Time].CurrentHierarchy.DefaultMember
THEN 1
ELSE

  [Measures].[Issues created] /
  ( [Measures].[Issues created],
    [Time].CurrentHierarchyMember.Parent )
END

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events