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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
chinma
Frequent Visitor

Matrix with Multiple Group

Dear Team,

I have a table with values for Date,WarehouseID,TotalInvoice,TotalUnAllocated,UnAllocatedSafetyStock,UnAllocatedRAW, (TotalUnAllocated-UnAllocatedSafetyStock-UnAllocatedRAW) as UnAllocated_Less_RM_SS. I need to create a matrix with Date as Column and (TotalInvoice,TotalUnAllocated,UnAllocatedSafetyStock,UnAllocatedRAW,UnAllocated_Less_RM_SS) as Rows for each WarhouseIDs. Also I need to have GrandTotal for all warehouses for each date at the bottom of matrix.

Here is the sample data:

chinma_1-1707126538861.png

Expected Result:

chinma_0-1707126518928.png

 

Any help would be appreciated greatly.

Thanks in advance.

 

9 REPLIES 9
chinma
Frequent Visitor

PijushRoy
Community Champion
Community Champion

Hi @chinma 

Please add warehouse in row header before ID 
Please find the pbix link 

If your requirement is solved, Please mark as SOLUTION

Thanks
Pijush




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





@PijushRoy  Thank you for the quick response. But my request is "On expanding" each warehouse ID, it should show the rows for " Total Invoice,Total Un Allocated, UnAllocated Safety Stock,UnAllocated RAW material, UnAllocated_Less_RM_SS)

same as given below:

chinma_0-1707131282899.png

Also it should show the Total as "ALL Locations" with details in rows.

eg:

chinma_1-1707131509698.png

Let me know if you have any solution on this.

Thank you.

PijushRoy
Community Champion
Community Champion

Hi @chinma 

PijushRoy_0-1707131803946.png

https://drive.google.com/file/d/1cX1U_QjidoMZrxsKwJM4UfEEvo0wSztb/view?usp=drive_link

 


If your requirement is solved, please make sure to MARK AS SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.

Thanks
Pijush




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





@PijushRoy  Thank you for your solution . Its almost worked except that I need to have expandable section for Total at the bottm of the matrix as " All locations" for sum of each attributes with details as shown below:

 

chinma_0-1707135801358.png

 

Any help would be grateful.

Thank you.

 

PijushRoy
Community Champion
Community Champion

Hi @chinma 

For this requirement, you have to change the row order

PijushRoy_0-1707139882873.png

https://drive.google.com/file/d/1cX1U_QjidoMZrxsKwJM4UfEEvo0wSztb/view?usp=drive_link

 

If your requirement is solved, please make sure to MARK AS SOLUTION and help other users find the solution quickly. Please hit the LIKE button if this comment helps you.

Thanks
Pijush

 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





@PijushRoy My requirement was to have detail section for Total as well.  It should be the sum of Total_Un_Allocated, Sum of Total Invoice....etc for all the warehouse IDs for each day.

eg:

chinma_0-1707225011404.png

Please let me know how to achieve this.

Thank you.

PijushRoy
Community Champion
Community Champion

Hi @chinma 

As per my idea, you can combine two tables to achieve this

PijushRoy_0-1707228441331.png

 

If your requirement is solved, please make sure to MARK AS SOLUTION and help other users find the solution quickly. Please hit the LIKE button if this comment helps you.

Thanks
Pijush

 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





PijushRoy
Community Champion
Community Champion

Hi @chinma 

Sample data link is not working, please check




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.