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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

how to make multiple columns to become multiple rows

 
Hello! I have a table like this 

Id       opendate           call1start    call1end  call2 start   call2 end  call3 start   call3 end

001     20220830         14:00            14:02       14:30          14:32       null             null

some Ids have 2 calls, some have 3 calls, 4 calls, I hope the table can become
id    opendate    callstart      callend

001  20220830    14:00            14:02
001  20220830    14:30            14:32

002  20220903     15:00           15:24


please help me make it out! Thank you!

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

You can try the following methods. Make a copy of the original table in Power Query. Each table retains one callstart and callend, and the column names are changed to be consistent.

vzhangti_0-1674808993015.pngvzhangti_1-1674809006659.png

Append two table:

vzhangti_2-1674809059778.png

Result:

vzhangti_3-1674809076512.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

You can try the following methods. Make a copy of the original table in Power Query. Each table retains one callstart and callend, and the column names are changed to be consistent.

vzhangti_0-1674808993015.pngvzhangti_1-1674809006659.png

Append two table:

vzhangti_2-1674809059778.png

Result:

vzhangti_3-1674809076512.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

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

Anonymous
Not applicable

Oh, you are so smart, and the method is very simple! Thanks a lot!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.