How to calculate the % of component/s in eazyBI Edited

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

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

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

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

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