Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
AbhiShake
Regular Visitor

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" ?

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@AbhiShake 

mannually created a status dim table and create relationship between the tables.

then create a measure

Measure = sum('Table'[Count  ])+0
 
11.PNG
 
pls see the attachment below




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
ryan_mayu
Super User
Super User

@AbhiShake 

mannually created a status dim table and create relationship between the tables.

then create a measure

Measure = sum('Table'[Count  ])+0
 
11.PNG
 
pls see the attachment below




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors