so i am creating a calculated measure that will return variance between actual Log hours vs Orignal estimates, but in case if my actual is zero it returns infinity , so before doing my calculation i want to check that only if the value of my measure field is non zero then do calculation
Hi @Sakina ,
I recommend implementing a condition with the CASE statement before the calculation and checking whether the actual logged hours are greater than zero. Some of the predefined calculated measures have such a condition. Please view the formula of the measure "Average resolution days" as an example.
CASE WHEN [Measures].[Issues resolved] > 0 THEN
[Measures].[Total resolution days] / [Measures].[Issues resolved]
END
See the eazyBI documentation page on defining calculated measures here - https://docs.eazybi.com/eazybi/analyze-and-visualize/calculated-measures-and-members/calculated-measures.
Best,
Roberts // support@eazybi.com
@Roberts Čāčus that's what i did 😀
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sakina ,
Perhaps you mean Nonzero()?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank but, i got the other way around
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.