Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Dynamic binning in a matrix visual

I have a table which has list of all employees along with their supervisor. I am trying to create binning / grouping for no. of people under each supervisor. For ex, if there are 4 supervisors managing 19 people, supervisor 1 can have 5 people reporting and some other can have only 2 people reporting. Sup 1 will come in group "5-7" reports and the other can be grouped under "1-2". However, these groups may change when certain filters are selected say a particular division or a region is selected for the employees given that a supervisor can have reports from different divisons/regions. 

 

If i use a calculated column to create this group based on no of reports, the filters will not work and if I use a measure, then the matrix visual in Power BI will not take it as an input for a column in the matrix.

 

Refer to this Sample excel sheet for some understanding if it helps.

3 Replies