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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Jos13
Helper III
Helper III

Need help with Matrix Visual

Hi All,

I have the following data.

Jos13_0-1614085110407.png

I need the below visual in power bi

Jos13_1-1614085180207.png

For columns like Offline, Online and All Site, we count for "Yes"(Created measures for them).

 

Please guide me if this is possible in power bi.

5 REPLIES 5
Anand24
Super User
Super User

Hi @Jos13 ,

PFA solution. You can achieve your result using matrix and calculaed measures for each type.

 

PBI_SuperUser_Rank@1x.png  

Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!!

Proud To Be a Super User !!!
LinkedIn

PaulDBrown
Community Champion
Community Champion

@Jos13 

Check out this blog post and see if it helps:

Creating a hybrid or custom matrix 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






amitchandak
Super User
Super User

@Jos13 , Create two measure A and B and use

A= countx(filter(Table, Table[status] ="A"),[status])

B= countx(filter(Table, Table[status] ="B"),[status])

 

for other

offline =countx(filter(Table, Table[offline] ="Yes"),[offline])

 

do for online an all

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Can we skip creating measures for the column Status ?. This column might get new values in the future and I want to show them dynamically in the visual. I tried adding the Status column to the Columns area. But it is not giving the result as expected.Capture 1.JPG

@Jos13 , I suggested all measures

 


if you are looking for a Hybrid display with Matrix Column and measure
https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1...
https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/...

vote for Hybrid Table
https://ideas.powerbi.com/ideas/idea/?ideaid=9bc32b23-1eb1-4e74-8b34-349887b37ebc

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.