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
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
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.