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
Babycakes_00
Helper I
Helper I

Pivot/unpivot or group!

Hi All 

 

I have a data set that spits out and I know I can either use grouping or pivoting but I am stuck

 

Table 1 products.

Comes out like this;

SubmissionIDEntryIDProductFieldColumnValue
1233500ApplesBin0 
1233501ApplesQuantity035
1233502ApplesBin1 
1233503ApplesQuantity1109
1233504ApplesBin2 
1233505ApplesQuantity2144

 

i need to look like this 

SubmissionIDProductBinQuantityKilos
123Apples362210 
123Bananas12 2280
     

 

 

Table 2

FORM IDEntryIDNameValue
1233486Date out11/26/2024 00:00:00
1233487DateIn9/11/2024 0:00
1233488ReceivalNo999999
1233489ID1
1233490NameLisa
1233491LocationAction
1233492TestTest
1233493Size 
1233494Comment 

 

Need to reformat to;

 

FORM IDDate outDateInReceivalNoIDNameLocationTestSizeComment
12311/26/2024 00:00:009/11/2024 0:009999991LisaActionTest  
          

 

 

 

Table 3 

SubmissionIDEntryIDIndexGroupRowTypeColumnValue
12334950PeopleTableFieldEntryLaborTypeSupervisor
12334960PeopleTableFieldEntryNameTEST
12334970PeopleTableFieldEntryNumber of People1
12334980PeopleTableFieldEntryStart11/26/2024 02:45:00
12334990PeopleTableFieldEntryFinish11/26/2024 07:00:00
12335381PeopleTableFieldEntryLaborTypeSupervisor

 

 

Outcome

 

SubmissionIDLaborTypeNameNumber of PeopleStartFinish
123SupervisorTEST111/26/2024 02:45:0011/26/2024 07:00:00
123SupervisorTEST111/26/2024 02:45:0011/26/2024 07:00:00
      

 

Can someone assist kindly 🙂

2 REPLIES 2
Anonymous
Not applicable

Hi @Babycakes_00 ,

 

Did you solve your problem in these days?

If not, please provide us with more detailed sample data as lbendlin said, thanks.

If your problem has been solved, we would be happy to see your sharing with solution.

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Your sample data does not match the expected outcome.

 

Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

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.