Forum Discussion

ravirayala4252's avatar
3 years ago
Solved

Highlight the values in Table A from Table B - Conditional formatting !..

Dear experts  I have a Situation here, Please help me with Solution.  I have created 2 table visuals, which are connect through 2 bridge table.  
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi  ravirayala4252 ,

     

     

    Here are the steps you can follow:

    1. Create measure.

    Flag =
    var _columnB=MAX('TableB'[Order ID])&""&MAX('TableB'[Material ID])
    var _columnA=SELECTCOLUMNS('TableA',"Group",'TableA'[Order ID]&""&'TableA'[Material ID])
    return
    IF(
        _columnB in _columnA,"red","white")

    2. Select [Actual Hours] – Conditional formatting – Background color.

    3. Result:

     

     

    Best Regards,

    Liu Yang

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