Forum Discussion

akumarshekhar's avatar
akumarshekhar
Regular Visitor
2 years ago
Solved

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.

4 Replies

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