CASE WHEN
DateBetween([Tickets].CurrentHierarchyMember.GetDate(‘Resolution Date’),
[Measures].[JiraSprint Sprint Start],
[Measures].[JiraSprint Sprint End]
)
THEN [Measures].[Tickets Resolved Count]
END
Is there a way to do this within eazyBI without adding this information to my (very long) csv file with Excel…
This will, for every Ticket, iterate through all Sprints and find which Sprint dates fit with the Resolution date of the Ticket. This formula assumes that there will be only one sprint after the filtering and it will retrieve this Item and return the Name of this Sprint.
Let me know if this works as expected!
Best regards,
Nauris / eazyBI support
I have one weird thing now: If the filter doesn’t find a valid sprint, it returns #null instead of empty cell, so the CoalesceEmpty function doesn’t work. IsEmpty doesn’t work either. Do I have to test with IIF or is there another trick to use with the filter?
The result of the filter is a set, that was where I went wrong. I am checking now with .Count if there is a result in which case I show the item’s name.