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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
verminbaron
New Member

Formatting Matrix Visualization

I am trying to take a dataset similar to the following

 

DivisionMarketSalesProfit
ACountry x12323
BCountry b23434
CCountry c34545

 

And want to visualize it using a matrix to look something like this

DivisionSales   Profit    
MarketABCTotalABCTotal
Country b 234 234 34 34
Country c  345345  4545
Country x123  12323  23
Total123234345702233445102

 

I can do it easily enough in Excel using Pivot Table by moving the Values before the Header, but I have not found a way to achieve the same in PBI and end up with something like the following

DivisionA B C Total 
MarketSales Profit Sales Profit Sales Profit SalesProfit
Country b  23434  23434
Country c    3454534545
Country x12323    12323
 Total123232343434545702102

 

Any help would be appreciated.  Thanks

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

1 REPLY 1
amitchandak
Super User
Super User

@verminbaron , Measure on top is not possible in power bi Matrix yet. You can unpivot the table and convert the sales and profit as rows and then you can have that table

https://radacad.com/pivot-and-unpivot-with-power-bi

 

or refer

https://community.powerbi.com/t5/Desktop/Matrix-Display-Values-above-Columns/td-p/256905
https://community.powerbi.com/t5/Desktop/grouping-measure-results/td-p/456795

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.