Forum Discussion

nidhs909's avatar
nidhs909
Frequent Visitor
1 year ago
Solved

Total filtered count rows in matrix

Hello, 

 

I have a Total Threshold measure counted as 

Threshold = DISTINCTCOUNT(Merged[JobID])/DISTINCTCOUNT(Merged[JobRig])
What i would like to achieve is using the same total threshold, count bouns amount for each employee. When I use the same threshold measure in matrix, it calculatets for each employee, wherein i need for total threshold for selected period. 

 

 

Thank you in advance. 

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi nidhs909 

     

    Thanks for the reply from lbendlin and Laxmanjatoth .

     

    Here is the test I did for your reference.

     

    My sample:

     

    Create a measure as follows

    Threshold = 
    CALCULATE(
        DISTINCTCOUNT(Merged[JobID]) / DISTINCTCOUNT(Merged[JobRig]),
        ALLSELECTED(Merged)
    )

     

    Output:

     

     

    If the above does not solve your problem, as lbendlin said, we need example data and desired results based on the example data to better help you. Please remove any sensitive data in advance.

     

    Best Regards,
    Yulia Xu

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

5 Replies