Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,030
Community Members
 
Community Events
165
Community Groups

EazyBI Measure to get % ?

Hi everyone

 

Here's the situation. I'm trying to get the following from a report on EazyBI.

I need an error rate %, meaning:

If I have 10 issues created, and 5 bugs, I have a 50% error rate.

The idea is pretty simple I basically need an MDX operation that reads

Issues created / bugs created

Simple enough, but I've been at it for a while and I cant crack it. This is my first encounter with this language and I don't fully understand it yet.

Closest I got was this

[Measures].[Issues created] / [Issue Type].[Bug]

However this one is not showing the desired %

 

I'd really appreciate the help :) 

1 answer

Hi @Esteban Halabi 

 

You are almost there, you need to divide the number of bugs (i.e. number of issues with issue type Bug) by the total of Issues created (taking into account all report selections for both).

For that you would divide a tuple of measure "Issues created" and I"ssue type" dimension member Bug by the measure "Issues created" (additionally, Case When construction is used to avoid dividing by zero when there are no created issues):

case when 
[Measures].[Issues created]>0
then
(
[Measures].[Issues created],
[Issue Type].[Bug]
)
/
[Measures].[Issues created]
end

 

Select formatting Percentage (integer or decimal).

See report Bugs vs Issues created where the number of bugs is also calculated and used in further calculations!

 

Best,

Ilze, support@eazybi.com

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

10 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you