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
Lancelot
Frequent Visitor

Duplicate a row based on key

Hi All

 

Is there a way to duplicate a row based on key.

 

I have Account - 0055 with column = "Mid" 

 

I want to create an additional row where account = 0056 with column = "Large"

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

Hi @Lancelot ,

 

According to your description, you want to append a row of data to the original table data, right? Here are my steps you can follow as a solution.

(1) This is my test data.  

vtangjiemsft_0-1675750573141.png

(2)Manually create a table and enter the data.

Picture2.png

(2) Click "Transform Data" to enter the Power Query editor and append two tables.

Picture3.png

(3) Then the result is as follows.

vtangjiemsft_1-1675750849542.png

Best Regards,

Neeko Tang

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

3 REPLIES 3
v-tangjie-msft
Community Support
Community Support

Hi @Lancelot ,

 

According to your description, you want to append a row of data to the original table data, right? Here are my steps you can follow as a solution.

(1) This is my test data.  

vtangjiemsft_0-1675750573141.png

(2)Manually create a table and enter the data.

Picture2.png

(2) Click "Transform Data" to enter the Power Query editor and append two tables.

Picture3.png

(3) Then the result is as follows.

vtangjiemsft_1-1675750849542.png

Best Regards,

Neeko Tang

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

I didn't make this post but i had no clue u could Append data from powerbi back into the datasource. This might become usefull. Thank you.

DvdH
Helper V
Helper V

Hi to export data back into its dataconnector i'd recommend not using Power BI. U are more likely to find something usefull in PowerApps or Power Automate depending on the data retrieval.

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.