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

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

Brilliant! That worked perfectly, thanks very much Martins smile

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted yesterday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

243 views 35 9
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot