Forum Discussion

commercial_user's avatar
1 year ago
Solved

Power BI Matrix visual table is repeating columns when adding a category column to the column field

Hello,

 

I have a simple table that uses measures to determine the headcount for each Business Unit by floor. Taking the measures I've created I added it to the Power BI matrix Visual. When using the drilldown page feature only the Business Unit is filtered (row values) which I realize that the Matrix was missing a column.  I then added a column field that had the floor information from solution Anonymous. In its current state the drilldown report filtering works amazing when selecting a datapoint it filters by row(Business unit and by column (By floor). The issue I now have is that adding the floor information as a column created repeating columns (See fig A), Ideally I would like to have my matrix visual to look like FIG C.  

 

The problem with Fig C is when selecting a single datapoint for the drilldown report, the filter only works by row selection (Business unit) and not the column (by Floor) because the column field (Floor Name) is missing from the matrix table. The drilldown report also will not work in a regular table visual. The limitation I see in the matrix visual is that the floor number column only has information relating to the floors and the Matrix Table doesn't allow me to add the other two columns (Total Count or Total Percent) as part of the visual so that my visual can look like Fig C. 

 

If anyone has a fix for this please let me know!

 

 

 

FIG. A

 Floor 1     Floor 2     Floor 3     Floor 4     
Business UnitFloor 1Floor 2Floor 3Floor 4Total CountTotal PercentFloor 1Floor 2Floor 3Floor 4Total CountTotal PercentFloor 1Floor 2Floor 3Floor 4Total CountTotal PercentFloor 1Floor 2Floor 3Floor 4Total CountTotal Percent
Engineering20102015020031%20102015020031%20102015020031%20102015020031%
Finance10050152%10050152%10050152%10050152%
Marketing800008013%800008013%800008013%800008013%
Administration 205105406%205105406%205105406%205105406%
Human Resources50201264%50201264%50201264%50201264%
Operations010200521534%010200521534%010200521534%010200521534%
NonClassified1040586310%1040586310%1040586310%1040586310%
Total14565260169639100%14565260169639100%14565260169639100%14565260169639100%

 

FigB.

 

 

FIG C

Business UnitFloor 1Floor 2Floor 3Floor 4Total CountTotal Percent
Engineering20102015020031%
Finance10050152%
Marketing800008013%
Administration 205105406%
Human Resources50201264%
Operations010200521534%
NonClassified1040586310%
Total14565260169639100%