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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
vejas
Helper I
Helper I

Matrix

Hi, 

 

  My goal is to see in one matrix - product sale made by year and by cutomer and product warehouse quantity today. 

I have two measure Sales  and Inventory and made matrix like this:eVRWIbG3Ev.png

 

Sales are good, but Inventory is splited by year and customer too and that is bad. 

 

I want see table like this :

 

lCMn4vW

 

Sales splited by year and customer, Inventory just by Product.

 

What i need to do to get this ?

 

Thanks

 

 

 

 

 

1 ACCEPTED SOLUTION
vejas
Helper I
Helper I

Just needed to create Calculated column Inventory Quantity in Product table ( instead of measure in Inventory table) and put it in Matrix Rows between Product and Customer. 

View solution in original post

2 REPLIES 2
vejas
Helper I
Helper I

Just needed to create Calculated column Inventory Quantity in Product table ( instead of measure in Inventory table) and put it in Matrix Rows between Product and Customer. 

Anonymous
Not applicable

Hey @vejas 

 

Matrices with multiple headers is tricky. However, it has been solved in both ofthe below threads:

 

Unpivot data: https://community.powerbi.com/t5/Desktop/Multiple-row-headers-in-Matrix-visual/td-p/372306

 

Custom Visual: https://community.powerbi.com/t5/Desktop/Double-column-headers-on-a-matrix/td-p/368141

 

If this helps please kudo.

If this solves your problem please accept it as a solution.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.