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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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