Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have a dataset which includes the following columns: Category, sales, cost, margin.
I would like to create a matrix such that Category is at the top, with the metric names on the side and values inside the table, such as below.
Category A | Category B | Category C | |
Sales | # | # | # |
Cost | # | # | # |
Margin | # | # | # |
However, when I move the "sales" column as a row, it displays all the possible sales values as opposed to the column name "sales". Have been playing around with the matrix but nothing seems to work. Is this actually possible?
Thanks
afk
Just for archiving and making sure others find this:
I guess Power BI eventually added the functionality below to make this less painful. Here is a link to where I found it.
Hi,
This should be possible by "Unpivoting other columns". Share data in a format that i can paste it in an Excel file.
Hi @bo_afk ,
Did you want to create a matrix as below? As the data you describe, seemed that we cannot achiev that. As table visual is different with matrix.
SALEs | Category B | Category C | Category A | |
Cost | xx | # | # | # |
Margin | xx | # | # | # |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
77 | |
73 | |
58 | |
35 | |
31 |
User | Count |
---|---|
99 | |
57 | |
56 | |
46 | |
40 |