Forum Discussion

wes11's avatar
wes11
Frequent Visitor
5 years ago
Solved

Matrix conditional formatting

Hello! I am attempting to create a matrix that displays a dot based on values that are in a comma delimited column (Fig. 1).  How may I display these distinct values across the top of a matrix and indicate each meal that may contain that item (Fig. 2)?

 

Fig. 1

 

Fig. 2

 

Thank you!

 

  • Ok, you can keep that table unrelated, and in DAX use INTERSECT to check for the presence and then count, when > 0 then you column needs to be populated. 

4 Replies

  • stevedep's avatar
    stevedep
    Memorable Member

    For starters in Power Query; spilt column by delimiter (comma) and use these row values next. 

  • wes11's avatar
    wes11
    Frequent Visitor

    Thanks stevedep.  Sorry, I do have these in a lookup table that is linked to the source table.

     

    • stevedep's avatar
      stevedep
      Memorable Member

      Ok, you can keep that table unrelated, and in DAX use INTERSECT to check for the presence and then count, when > 0 then you column needs to be populated.