Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,559,414
Community Members
 
Community Events
184
Community Groups

Calculating with dates in eazyBI

Hi,

 

two questions in eazyBI:

1) I have two fields of issue type "Date Picker". I'm looking for a function similar to average resolution days but I need the time between the two customfields and not from created to resolved. If i use something like 

[Measures].[Field B] - [Measures].[Field A]

i get an error. Also it only shows the error message, when I drill down into the single issues. If i only drill down until the issue level (e.g. "Bug"), I only get a blank field.

 

2) It's almost the same question but for fields of issue type "Date Time Picker". Here I was awaiting a timedifference in hours or minutes but also only got an error.

 

Can anyone provide a correct calculation for the fields?

 

Thanks in advance

Jan

1 answer

1 accepted

0 votes
Answer accepted
eazyBI Support
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.
Mar 08, 2017

Hi Jan,

 

In that case, you could ensure that you have imported these date fields as Issue properties and then you could try using "DateDiffDays" and "DateDiffHours" functions to calculate the difference between two date or date/time fields on Issue level.

DateDiffDays(
[Measures].[Issue Actual start date],
[Measures].[Issue resolution date]
)

 

difference in days.jpg

calculate difference between date fields.jpg

 

 

Here you could read more about DateDiffDays function

https://docs.eazybi.com/display/EAZYBI/DateDiffDays

 

In a similar way, you could create a new calculated measure for DateDiffHours or DateDiffMinutes by choosing an appropriate formatting for it. 

 

Please contact support@eazybi.com if you have further questions regarding this!

 

Kind regards,

Martins Vanags / support@eazybi.com

Hi Martins,

 

thanks, that was exactly what I was looking for.

 

Kind Regards,

Jan

Hello, 

If I need to measure average working time from when a task is in progress until it is solved, taking away the time you spend in an impeded or blocked state

¿?


[Measures].[Average days in transition status],
[Transition].[In Progres-->Resolveds] - [Transition].[blocked]

 

Thank you

Janis Plume _eazyBI_
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.
May 03, 2021

Hi, @Na 

 

The closest solution for your use case could be the approach used in one of our Demo reports: https://eazybi.com/accounts/1000/cubes/Issues/reports/499777-average-lead-and-cycle-time.

 

Please, check the formula behind the Average resolution days since the cycle start measure. That is the solution to calculate time from the first transition to a specific status till the resolution.

 

Kindly,

Janis, eazyBi support

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events