I would like to know the number of problems that have had a version after resolution.
I have a custum field (N° de ticket CRM) which allows to identify the problems which come from the hotline and I would like to know the percentage of problem which had a true resolution and the percentage of which should never have arrived until R&D.
N° de ticket CRM is not empty AND fix version is not empty AND resolved = true
I managed to highlight the number of problems coming from the hotline
but I can’t get the percentage with a corrected version
It seems you are looking to add another condition to the calculated measure for retrieving issues with any Fix Version. If that is the case, first, create a new calculated measure that retrieves the Fix versions for each issue. Please have a look at the formula below:
After that, try altering the calculated measure “Ticket CRM Creer”. There is no need for two nested Filter() functions. You can add two or more conditions inside it with AND and OR operands. Also, you can use the Sum() function instead of Count() and move the measure “Issues created” outside Filter() as the numeric expression that will be evaluated over the set. Please have a look at the formula below:
Sum(
Filter(
Descendants([Issue].CurrentHierarchyMember,[Issue].[Issue]),
[Measures].[Issue No de ticket CRM] <> '(none)'
AND
[Measures].[Issue Fix Version] <> '(no version)'
),[Measures].[Issues created]
)
The measure [Measures].[Issue Fix Version] is the same you created in the first step. Replace the name if you used a different one. The Sum() function usually is more efficient than the Count() and returns results faster.
After that, you can select the “FixVersions” custom field for import in the eazyBI import options in the “Custom fields” tab as an issue property.
The formula could look similar to the one below:
Sum(
Filter(
Descendants([Issue].CurrentHierarchyMember,[Issue].[Issue]),
[Measures].[Issue No de ticket CRM] <> '(none)'
AND
[Measures].[Issue FixVersions] <> '(none)'
AND
Not IsEmpty([Measures].[Issue resolution])
),[Measures].[Issues resolved]
)
It looks like you are looking for resolved issues. I updated the formula to look for issues in who have a set resolution.
Sum(
Filter(
Descendants([Issue].CurrentHierarchyMember,[Issue].[Issue]),
[Measures].[Issue No de ticket CRM] <> '(none)'
AND
Not IsEmpty([Measures].[Issue FixVersions])
AND
Not IsEmpty([Measures].[Issue resolution])
),[Measures].[Issues resolved]
)
How many issues do you have in the cube? You can see that by expanding the Issue dimension “All hierarchy level members” section. There you should see the “Issue” level and number of members in it.
As an alternative, import the custom field “N° de ticket CRM” as a dimension. Create a calculated member in the N° de ticket CRM dimension with the formula below:
--Except None
Aggregate(
Except(
[N° de ticket CRM].[N° de ticket CRM].Members,
{
[N° de ticket CRM].[(none)]
}
)
)
Then try creating a new calculated measure with the formula below: