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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Suggest an answer

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

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

97 views 1 6
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