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,298,911
Community Members
 
Community Events
165
Community Groups

How to exclude weekend in eazybi

Dear All

kindly advise I was trying to create the report in eazybi and I want to hide the weekend date. Ho to do that?

the below is calculated that I had created

DateDiffWorkdays(
[Time].[Day].DateMember('Jan 1 2020'), [Time].[Day].DateMember('Jan 31 2020'), '67')

after I activated the calculated weekend date was still included in the report.

 

1 answer

Hi @Starahma0014

 

Each date has a property that describes which day of the week it is. You may use this property to remove weekends if Time dimension with Day level members is on report rows. To see this property in the report, define a new calculated measure "Day of the week" in Measures:

[Time].CurrentHierarchyMember.get("Week day name")

In the report, filter row by the new measure that does not match Saturday or Sunday (see picture below)

eazyBI filter weekends.jpg

Then you may remove calculated measure "Day of the week", the filter will remain. 

If you would like to exclude weekends from a calculated measure, you might want to use function DateDiffWorkdays() similar to what you have created. But this approach is better suited for use cases, like counting working days between two dates, like resolution time in working days.

More details on calculated measures you can find in the eazyBI documentation:
https://docs.eazybi.com/eazybi/analyze-and-visualize/calculated-measures-and-members/mdx-function-reference/datediffworkdays.

Best,
Zane / support@eazyBI.com

Hi Zane,

Could you please advise how to exclude holidays apart from the weekend in the DateDfiffWorkdays() function? Like I would like to exclude 05-Jan-2022, 06-Jan-2022 and so on from the calculation.

Thanks,

SP

Hi @Saurabh

Function DateDfiffWorkdays() does not include weekends or holidays. There is no way to separate those as both are not counted for.

In import options, you can specify non-working days of a week and list holidays. Both are not included in workday calculations.

 

eazyBI non-working days.png

 

Please see the documentation for more details: https://docs.eazybi.com/eazybi/data-import/data-from-jira#DatafromJira-Timedimension.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

389 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you