Forum Discussion

AbhiShake's avatar
AbhiShake
Regular Visitor
2 years ago
Solved

Create matrix with static columns

I have a data table that follows the following format:

 

Source  Status            Count  
ACompleted10
ATO-DO2
BIn-Progress5
BTO-DO5
BCompleted10
CCOMPLETED6

 

There are 4 possible values in status: "COMPLETED", "IN-PROGRESS", "TO-DO", "FAILED"

Sometimes one of the above status values will not be in the data table. In this example, "FAILED"

 

I want to create a matrix with static columns for the status values.

So for the above table, I want to create a matrix that looks like the following

 

Source  COMPLETED  IN-PROGRESS  FAILED  TO-DO  
A10002
B10505
C6000
D0000

 

Currently my matrix displays the above table without the "FAILED" column since this value doesn't appear in the data table.

How can I create a matrix with static columns to display "COMPLETED", "IN-PROGRESS", "FAILED", "TO-DO" ?