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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.