Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Search and match String

Hello,

I need help with creating a Matrix of matching activity.

Got 2 tables -

Tab1 BaseActivity: That has List of All Activities

Tab2 Resource Activity: List of Resource and Activity they assoiate to (please note they are seperated by ',')

BaseActivity
A
B
C

 

Resource NameActivity
TomA,C
MaryA,B,C
AniC

 

The ultimate Matrix should show a match something like;

Resource/ Activity ->/ABC
TomYesNoYes
MaryYesYesYes
AniNoNoYes

 

Thanks in advance !

1 Reply

  • Hi,

    First you should split activity column by delimiter (, is the delimiter) and then unpivot all the results (exept Resource Name):