[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

1 vote
Accepted answer

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,721 views 17 21
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