I made the graph but I want to make this graph in colors, for before this week I want to make it green and for this week is orange and for the future is blue. So Is it possible to make like that in eazyBI?? If yes please tell me how
For now, it is not possible to dynamically change the colors of one measure in eazyBI. What you could do to create such report is to create three calculated members which each would return the value of measure only in case the time falls before, now or after the period dimension. See screenshot below
The formulas I used are as follows (I am using Issues with due date Measure, please change it accordingly).
Before today
CASE WHEN
DateAfterPeriodEnd(
Now(),
[Time].CurrentHierarchyMember
)
THEN [Measures].[Issues with due date]
END
This period
CASE WHEN
DateInPeriod(
Now(),
[Time].CurrentHierarchyMember
)
THEN [Measures].[Issues with due date]
END
After today
CASE WHEN
DateBeforePeriodEnd(
Now(),
[Time].CurrentHierarchyMember
) AND NOT
DateInPeriod(
Now(),
[Time].CurrentHierarchyMember
)
THEN [Measures].[Issues with due date]
END
Note that I have stacked the bars to show them in all provided area of that period.
I have another issue I want another report but with weeks
I need for this week, last week, and before
I only made this week and before and I don’t know how to make the previous week. Could you help me?
Closed CRs this week
CASE WHEN
DateInPeriod(Now(),[Time].CurrentHierarchyMember)
THEN
Sum(
Filter(
Descendants([Issue].CurrentMember, [Issue].[Issue]),
[Measures].[Issue type] = ‘CR’
and ([Measures].[Status] <> ‘Canceled WA’
and [Measures].[Status] <> ‘Canceled NA’)
), [Measures].[Issues with closure date])
END
Closed CRs before this week
CASE WHEN
DateAfterPeriodEnd(Now(),[Time].CurrentHierarchyMember)
THEN
Sum(
Filter(
Descendants([Issue].CurrentMember, [Issue].[Issue]),
[Measures].[Issue type] = ‘CR’
and ([Measures].[Status] <> ‘Canceled WA’
and [Measures].[Status] <> ‘Canceled NA’)
), [Measures].[Issues with closure date])
END