cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JKoivu
Helper I
Helper I

Combining two rows by creating new columns

Hello Power BI community,

 

I have a table that contains measurements, and there's an individual row for left and right side:

JKoivu_0-1623663218907.png

 

I would like to have these rows combined like this, with the id and time column determining which rows to combine:

JKoivu_1-1623663347253.png

 

I'm thinking that this should be done with Power Query, but I'm not sure. I tried searching the forum but could not find similar question.

1 ACCEPTED SOLUTION
amitchandak
Super User IV
Super User IV

@JKoivu , Please use side as column in matrix and value and values in the matrix.  id and time as row



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
amitchandak
Super User IV
Super User IV

@JKoivu , Please use side as column in matrix and value and values in the matrix.  id and time as row



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - July 22, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Top Solution Authors
Top Kudoed Authors