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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Khomotjo
Helper II
Helper II

Pivot a table/Matrix to create new coloumn in Power BI

Hello everyone :

 

I have data like this :

Khomotjo_2-1740641578630.png

 

 

I want to pivot the coloumns so that I can create a visual like this :

Orders Knows = Open_Orders, Orders _Same Day=Same_Day_Orders,Orders_Finalised=Picked Orders and Orders_Late=Late_Orders

 

Khomotjo_1-1740641489675.png

I can not simply add an identifier coloumn to my data because some of the measures for the current date are calculated from a previous date. I run a snapshot of the orders daily so I will only know late orders the next day/date.

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Khomotjo ,

 

If this are measures on your model you don't need to pivot anything you just need to add those measurss top the visualization line and stacked column chart.

 

The data seems to be in the correct format so that you can make it work.

 

If the values are part of a column on your model then you use the same visual but add that column to the legend.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @Khomotjo ,

 

If this are measures on your model you don't need to pivot anything you just need to add those measurss top the visualization line and stacked column chart.

 

The data seems to be in the correct format so that you can make it work.

 

If the values are part of a column on your model then you use the same visual but add that column to the legend.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors