How to combine these two formula to one condition?

Dear,

One Formula:

CASE WHEN NOT isEmpty([Measures].[Issues created])
THEN Val([Measures].[Issues created])
ELSE 0
END

One Formula:
Aggregate(Filter([Issue].[Issue].Members,
[Measures].[Issue type]= “Bug”)
)

I want to use one measure to perform these two formula function.

Thanks a lot!

Hi,

I believe you can find the solution in this community post:

Anyway, try this code:

CoalesceEmpty(([Measures].[Issues created], [Issue Type].[Bug]),0)

Martins / eazyBI support

1 Like

YES, the problem is resolved by your method.