Forum Discussion

thomas_coltrain's avatar
thomas_coltrain
Frequent Visitor
4 years ago
Solved

Combining values from a field and filtering into rows

Hey everyone, Here is some sample data of what I am trying to create.. Let's say I have the field "Work Orders".. using the column "PrimaryIncidentType" (Workorder[PrimaryIncidentTypeName]  is the ...
  • v-easonf-msft's avatar
    4 years ago

    Hi, thomas_coltrain 

    You can try to add another calculated column to category these data rows ,then apply this field to a matrix row.

    Calculated column =
    SWITCH (
        TRUE (),
        CONTAINSSTRING ( Workorder[PrimaryIncidentTypeName], "PM" ), "PM",
        CONTAINSSTRING ( Workorder[PrimaryIncidentTypeName], "DM" ), "DM",
        CONTAINSSTRING ( Workorder[PrimaryIncidentTypeName], "EM" ), "EM"
    )
    

     

    Best Regards,
    Community Support Team _ Eason