[EazyBI] Calculating ratios

Jerome Renaud October 6, 2014

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
Answer accepted
Lauma Cīrule
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.
October 8, 2014

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 

Jerome Renaud October 8, 2014

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

0 votes
Jerome Renaud October 7, 2014

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