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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RinJ17
Frequent Visitor

[Help] How to create zero count rows in matrix and chart?

Hello Power BI community,

 

I have Ticket table with 3 columns, "Component", "Status" and "Week Number".

RinJ17_0-1683879658425.png

 

And I created a matrix in Power BI to show number of tickets(count rows) based on Status and Week Number as a following picture.

RinJ17_0-1683885569099.png

 

 

But the problem is that I want to show all status (open, in progress, close) including zero like this.

RinJ17_3-1683880754117.png

 

Not only matrix, charts cannot show all status (including zero) too.

RinJ17_8-1683881215384.png

RinJ17_9-1683881238151.png

 

Does anyone have any suggestions on this?

Please help!

 

Thank you in advance.

1 ACCEPTED SOLUTION
barritown
Super User
Super User

Hi @RinJ17,

 

You can try this:

 

1) Create 2 new tables and link them with your main one.

Components = DISTINCT ( data[Component] )

Weeks = DISTINCT ( data[Week Number] )

 

barritown_0-1683896476116.png

 

2) Create a measure.

Counter = COUNT ( data[Week Number] ) + 0

 

3) Use the newly created tables and measure in the matrix visual:

barritown_1-1683896616051.png

 

Best Regards,

Alexander

My YouTube vlog in English

My YouTube vlog in Russian

View solution in original post

2 REPLIES 2
barritown
Super User
Super User

Hi @RinJ17,

 

You can try this:

 

1) Create 2 new tables and link them with your main one.

Components = DISTINCT ( data[Component] )

Weeks = DISTINCT ( data[Week Number] )

 

barritown_0-1683896476116.png

 

2) Create a measure.

Counter = COUNT ( data[Week Number] ) + 0

 

3) Use the newly created tables and measure in the matrix visual:

barritown_1-1683896616051.png

 

Best Regards,

Alexander

My YouTube vlog in English

My YouTube vlog in Russian

Yes, it works!

 

Thank you so much @barritown 🤗

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.