[EazyBI] Calculating ratios

Hi all,

I have the following situation:

  1. a calculated measure called "Days spent" that sums-up all work logs on tickets
  2. two issue type grouped "Bugs" and "Projects"

I want to calculate a simple ratio of time spent fixing bugs vs time spent developing new features for projects. Of course I've tried with a very naive approach to define a new calculated member (in my "issue type" dimension) as Bugs/Projects*100 but it's not giving me the expected figure.

How can I solve it out?

Thank you for your help.

 

2 answers

1 accepted

Hi Jerome!

You are correct to use the tuples for the ratio formula.

If you also wanted to see Measure columns for Days Spent for Bugs and Days Spent for Project issue type, you can add following Measures (also tuples) 

  • Days spent for Bugs
([Measures].[Days spent], [Issue Type].[Bugs])
  • Days spent for Projects
([Measures].[Days spent], [Issue Type].[Project])

 

And then use these for division in ratio measure

[Measures].[Days spent for bugs] / [Measures].[Days spent for Projects]

 

Kind regards,
Lauma 

Hi Lauma, works fine! Thanks again for your quick help. Jerome

Hi All,

Found something using tuples, not sure that's the right way to it though. I've created a new calculated measure like this:

([Measures].[Days spent],[Issue Type].[Bugs])/([Measures].[Days spent],[Issue Type].[Project])

Results are OK but I'cant have both ratios and time spent because it's actually adding new columns. Any other idea would be appreciated.

Jerome

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

56 views 0 5
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