Below is the formula which I have return to get the category count based on the severity. Please assist how to achieve this.
distinct_countIf({category},{status}=“Fail” AND {severityname}=“2”) , result shows 2.
But actually in category A we have 3 defects with severity as 1, 2 and 3 . 3 will be the Major one.
If category has multiple exceptions from different severity levels, the category is included in the calculation based on the highest severity level noted for that category.
Explanation: in your formula, you’re counting the distinct number of categories after applying the conditions of “status” = “Fail” and “Severity” = “2”, which leads to the categories of A and D in the sample dataset, hence the output of 2.
If this is not what you’re intending to achieve, please feel free to explain with an example what your desired outcome is, so the community members can help. Thanks.
In category “A” we have highest severity level as “3” when I have applied the formula for category count based on severity 3, result shows “1” which is correct.
Now, when I calculate the category count for severity level 2, category A has to be exclude. Since I have already taken the highest severity level from category A. please assist.
@tdr_Dinesh Is this the final output you’re expecting (first 2 columns; the last column is a comment…)? Ofcourse this is considering the “Fail” status only…