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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
PBI-Curious
Resolver I
Resolver I

Can you Update Rows in Tables in Power Query

Hello PBI Community Good Day!

 

What I'm trying to accomplish:

 

I need to add 4 rows to an existing independent table in my .pbix, so I can show YoY % in my matrix visual.

 

Screen shots below

 

Wondering if this is possibile, if how would I go about doing it?

 

Much appreciate your time.

 

Thank you

 

*****Existing table*****

PBICurious_1-1656691838268.png

***Want to add the rows highlighted****

PBICurious_2-1656691874663.png

 

Here is the existing table in Power Query

 

PBICurious_3-1656691910916.png

 

 

 

 

 

 

 

 

2 ACCEPTED SOLUTIONS

Hi @PBI-Curious ,
If I understand your question, create a new table in Power Query by Enter Data, as I have done.  Then select your original table. Next append Queries. Select your new table as the second table.


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Anonymous
Not applicable

Hi @PBI-Curious ,

 

Here's my solution.

1.Select the Comparsion column, then click 'Pivot Column'.

vstephenmsft_0-1657091252609.png

Set up as follows and click OK.

vstephenmsft_1-1657091294206.png

vstephenmsft_2-1657091311036.png

 

2.Add a custom column named 'YoY %', the value is 4.

vstephenmsft_3-1657091387689.pngvstephenmsft_4-1657091394476.png

 

3.Unpivot the 4 columns and rename the columns.

vstephenmsft_5-1657091433289.png

vstephenmsft_6-1657091442816.png

vstephenmsft_7-1657091491952.png

 

 

 

Best Regards,

Stephen Tao

 

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

4 REPLIES 4
wdx223_Daniel
Community Champion
Community Champion

NewStep=Table.Combine(Table.Group(PreviousStepName,"CALCID",{"n",each _&#table(Table.ColumnNames(_),{{[CALCID]{0},[Calculation]{0},4,"YoY %"}})})[n])

Anonymous
Not applicable

Hi @PBI-Curious ,

 

Here's my solution.

1.Select the Comparsion column, then click 'Pivot Column'.

vstephenmsft_0-1657091252609.png

Set up as follows and click OK.

vstephenmsft_1-1657091294206.png

vstephenmsft_2-1657091311036.png

 

2.Add a custom column named 'YoY %', the value is 4.

vstephenmsft_3-1657091387689.pngvstephenmsft_4-1657091394476.png

 

3.Unpivot the 4 columns and rename the columns.

vstephenmsft_5-1657091433289.png

vstephenmsft_6-1657091442816.png

vstephenmsft_7-1657091491952.png

 

 

 

Best Regards,

Stephen Tao

 

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

Nathaniel_C
Community Champion
Community Champion

Hi @PBI-Curious ,

Nathaniel_C_0-1656719986522.png


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @PBI-Curious ,
If I understand your question, create a new table in Power Query by Enter Data, as I have done.  Then select your original table. Next append Queries. Select your new table as the second table.


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.