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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
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.