Forum Discussion

Kerk's avatar
Kerk
Frequent Visitor
4 years ago
Solved

How to enter not aggregated values in a Matrix visual

Hello everyone,   I am using a Matrix to display the minimum AVG-speed achieved grouped by Category and Distance. Following that I would like to bring in the actual date and the actual venue that ...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Kerk ,

     

    I suggest you to create measures to calculate Date and Venue for minmum speed.

    Minimum speed = 
    CALCULATE (
        MIN ( 'Table'[Speed] ),
        ALLEXCEPT ( 'Table', 'Table'[Category ], 'Table'[Distance] )
    )
    Date of Minimum speed = 
    CALCULATE (
        MAX ( 'Table'[Date] ),
        FILTER ( 'Table', 'Table'[Speed] = [Minimum speed] )
    )
    Venue of Minimum speed =
    CALCULATE (
        MAX ( 'Table'[Venue] ),
        FILTER ( 'Table', 'Table'[Speed] = [Minimum speed] )
    )

    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.