Forum Discussion

lukexuereb's avatar
lukexuereb
Regular Visitor
5 years ago
Solved

Split Values in Matrix by Different Rows (Which have the same type of data)

I am displaying 2 different calculated measures in a matrix (Comp 1st Review and Comp 2nd Review). As seen below: Comp 1st Review Comp 2nd Review 8 4   I then split the above values by ...
  • v-kkf-msft's avatar
    5 years ago

    Hi lukexuereb ,

     

    Try the following formula:

     

    Measure = 
    var _1 =
        CALCULATE(
            DISTINCTCOUNT('Table'[Column2]),
            FILTER(
                ALL('Table'),
                'Table'[Computation2ndReviewer] = MAX('Table'[Computation1stReviewer])
            )
        )
    return 
        IF(
            ISFILTERED('Table'[Computation1stReviewer]),
            _1,
            [Comp 2nd Review]
        )

     

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

    Best Regards,
    Winniz

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