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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Telkontar
Advocate I
Advocate I

Values in new columns

Hello
I have table with: 
1. RMA number (unique)
2. SN (not unique)
3. Date open (date)
4. Date closed (date)

I want to create table, with rows for every RMA and SN like so:
Input table:
RMA      SN    Date Open   Date Closed
R1         123    

R2         234

R3         123

R4         123

R5         234

R6         433

 

Result table:
SN        RMA1   Date open 1       Date close 1     RMA2    Date Open 2     Date close 2   RMA 3   Date Open 3    Date open 4   ...
123       R1        (date)                 (date)                R3         (date)                 (date)             R4          (date)               (date)             ...  
234       R2        (date)                 (date)                R5         (date)                 (date)            <blank> <blank>           <blank>
433       R6        (date)                 (date)           <blank>    <blank> ...


Can you give mi hint how to do this
I tried Lookupvalue, but it's not suited for multiplre results and to pivot table

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Telkontar ,

 

You can split the table based on SN and merge them in the query editor.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-eachen-msft
Community Support
Community Support

Hi @Telkontar ,

 

You can split the table based on SN and merge them in the query editor.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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