You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi We need to include saturday as a working day for calculating the planned estimates of the projects. I have used the below MDX code but can u please help to modify the code to include saturday as working day.
CASE WHEN
-- show for default time periods on workingdays only
([Time].CurrentHierarchyMember.Level.Name = "Day"
and
NOT CoalesceEmpty([Time].CurrentHierarchyMember.Get("Week day name"),"") MATCHES "Saturday|Sunday")
or [Time].CurrentHierarchyMember.Level.Name MATCHES "Year|Week|Month|Quarter"
or [Time].CurrentHierarchyMember is [Time].CurrentHierarchy.DefaultMember
THEN
NonZero(SUM(
Filter(Descendants([Issue].CurrentMember,[Issue].[Issue]),
-- check if an issue has start and end date, and it falls into selected period:
NOT IsEmpty([Measures].[Issue Target start])
AND
NOT IsEmpty([Measures].[Issue Target end])
AND
(DateBetween(
[Time].CurrentHierarchyMember.StartDate,
[Measures].[Issue Target start],
[Measures].[Issue Target end])
OR
DateInPeriod(
[Measures].[Issue Target start],
[Time].CurrentHierarchyMember)
)),
-- workload per day = total planned time / workdays in planned period
-- total planned time
([Measures].[Original estimated hours],
[Time].CurrentHierarchy.DefaultMember)
/
-- workdays in planned period
DateDiffWorkdays(
DateWithoutTime([Measures].[Issue Target start]),
DateAddDays(DateWithoutTime([Measures].[Issue Target end]),1)
)
*
-- full workdays in period - workdays in weeks, month, etc.
DateDiffWorkdays(
TimestampToDate(IIF(DateInPeriod([Measures].[Issue Target start], [Time].CurrentHierarchyMember),
DateToTimestamp(DateWithoutTime([Measures].[Issue Target start])),
DateToTimestamp([Time].CurrentHierarchyMember.StartDate))),
TimestampToDate(IIF(DateInPeriod([Measures].[Issue Target end], [Time].CurrentHierarchyMember),
DateToTimestamp(DateAddDays(DateWithoutTime([Measures].[Issue Target end]),1)),
DateToTimestamp([Time].CurrentHierarchyMember.NextStartDate)))
)
))
END
Hi @Dhivakar C
You can also try the import settings where you calculate what working days are: https://docs.eazybi.com/eazybi/data-import/data-from-jira