Forum Discussion

Haidarius's avatar
Haidarius
Frequent Visitor
4 years ago
Solved

DAX measure or calculated column Logic help

Hello!   I have a matrix set up as the figure below Basically the hierarchy of rows is NAME > GROUP > SECTION The grouping was done automatically in powerBI matrix..   When you expand a G...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Haidarius ,

    I have created a simple sample, please refer to it to see if it helps you.

    Create 2 measures.

    _1 = IF(MAX('Table'[VALUE])="Blue",1,0)
    
    
    result =
    VAR _1 =
        MAXX (
            FILTER ( ALL ( 'Table' ), 'Table'[name] = SELECTEDVALUE ( 'Table'[name] ) ),
            [_1]
        )
    RETURN
        IF ( _1 = 1, TRUE (), FALSE () )
    

     

     

    Best Regards

    Community Support Team _ Polly

     

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