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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
akumarshekhar
Regular Visitor

How to show dynamic Table/Matrix containing only measures that interacts with slicers?

My data is like this: Customers may face some interruptions which is logged as a incident number on a given date.

Customer Name        Incident Number     Incident Date

A101Jan-23
Bab223Jan-23
Bcd112Oct-23
B1083Feb-24
BabcMar-24
C444Feb-24

I want to create a stacked column chart (or even a table/matrix would work) that shows Number of Customer on Y axis and number of Incidents on X axis. so the output (in a tabular format) would be  something like this (only first 2 columns):

#CustomersAffected#TimesExplanation
14This is for B (1 customer experienced incidents 4 times)
21This is for A and C (2 customers experienced only 1 incident)

This matrix needs to respect the date slicer which is in the report page. I am not able to create the chart since any measure cant be put in X axis, same for matrix (can't put measure in Rows). I can create calculated column that calculates the numbers but it wont respect the slicer selection.

 

Any help is highly appreciated. Thanks.

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1711326982285.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
akumarshekhar
Regular Visitor

@Ashish_Mathur  - This works absolutely fine for my model. Many thanks.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

PBI file attached.

Hope this helps.

Ashish_Mathur_0-1711326982285.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

 I am not able to create the chart since any measure cant be put in X axis, same for matrix (can't put measure in Rows)

That is correct, Power BI does not have the LOD features.  You need to bring your own buckets (ie a table with incident counts) and then map your measures to that table.  You can put the table column in your chart axis.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors