Forum Discussion

Dunner2020's avatar
Dunner2020
Post Prodigy
5 years ago
Solved

Decomposition tree issue

Hi there,

I have created few measures using distinctcount function about the start and finish times of the job. I am using those measures into the slicer and showing their split using decomposition tree visual as shown in the picture:

 

 

 

  • Dunner2020 

    This happens when the thing you are counting is in multiple bucketes you are splitting it by.

    The count by category is correct and the count in total is correct but the individual counts do not sum to the total becuase of the one item in two categories.  So that one gets counted once in each category and once in the total.

    Instead of doing DISTINCTCOUNT can you just use COUNTROWS to count the outages?

     

1 Reply

  • Dunner2020 

    This happens when the thing you are counting is in multiple bucketes you are splitting it by.

    The count by category is correct and the count in total is correct but the individual counts do not sum to the total becuase of the one item in two categories.  So that one gets counted once in each category and once in the total.

    Instead of doing DISTINCTCOUNT can you just use COUNTROWS to count the outages?