Forum Discussion

robertosangi's avatar
robertosangi
Helper I
4 years ago
Solved

Highest value per cluster

Hi,    In my case I want to obtain the highest value (top 1) of a column divided per cluster. Here the example: Actually I filtered my column as per picture because is not possible to filt...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi robertosangi ,

     

    According to your screenshot, I think your table should look like as below.

    I think you want to show values in red box.

    I suggest you to create a rank measure and use it as a filter in visual level filter.

    RANK =
    VAR _RANK =
        RANKX (
            ALLEXCEPT ( 'Table', 'Table'[Unite], 'Table'[Blue Team] ),
            CALCULATE ( SUM ( 'Table'[IGB_NoLoc] ) ),
            ,
            DESC,
            DENSE
        )
    RETURN
        _RANK

    Result is as below.

    Best Regards,
    Rico Zhou

     

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