eazybi time of day

I have created calculated members for each day of the week as per the following

[Time].CurrentMember.get('Week day name') MATCHES

Can I further this by time of the day also?

i.e. Thursday between 9am and 10am?

Monday between 4pm and 5pm?



2 answers

1 accepted

This widget could not be displayed.

Hi Paul,

In that case, you could create a new custom field for "Hour of Day" using Javascript in your eazyBI advanced settings that would create timestamps based on dates when issue was created

Please add these lines to your eazyBI advanced settings:


name = "Hour of Day"
data_type = "integer"
dimension = true
javascript_code = '''
var hours = new Date(Date.parse(issue.fields.created)).getHours();
issue.fields.customfield_hour_of_day = hours;


Then you could import (via eazyBI import settings) this new custom field as a separate dimension in your eazyBI account. 

After that,  you could use this new dimension together with measure "Issues created" since the timestamps are imported from created dates, and together with "Time" dimension weekly hierarchy where you have created your calculated members for each day of the week.


Hour of Day.jpg


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


Kind regards,

Martins Vanags / support@eazybi.com

This widget could not be displayed.

Brilliant! That worked perfectly, thanks very much Martins smile

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

161 views 16 7
Join discussion

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