Forum Discussion

roysampad91's avatar
roysampad91
Frequent Visitor
2 years ago
Solved

Add cells border to a matrix table with same values in Power BI

How do i get cell borders around the first column for all rows, sample of the needed border highlighted in red

 

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi, roysampad91 

    The current version does not support dynamic highlighting of cell borders. You can try to set background color to highlight rows.

     

    mobile color = 
    VAR _slicer =
        SELECTEDVALUE ( 'Slicer'[Team Lead] )
    VAR _table_team =
        SELECTEDVALUE ( 'Table'[Team Lead] )
    VAR _result =
        IF (
            ISFILTERED ( Slicer[Team Lead] )
                && _table_team IN ALLSELECTED ( Slicer[Team Lead] ),
            "#38E7D9"
        )
    RETURN
        _result

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, roysampad91 

    The current version does not support dynamic highlighting of cell borders. You can try to set background color to highlight rows.

     

    mobile color = 
    VAR _slicer =
        SELECTEDVALUE ( 'Slicer'[Team Lead] )
    VAR _table_team =
        SELECTEDVALUE ( 'Table'[Team Lead] )
    VAR _result =
        IF (
            ISFILTERED ( Slicer[Team Lead] )
                && _table_team IN ALLSELECTED ( Slicer[Team Lead] ),
            "#38E7D9"
        )
    RETURN
        _result

     

    Best Regards,
    Yang
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly --  How to provide sample data in the Power BI Forum