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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
qhpowerbi
Helper III
Helper III

Add New Row which the result of division other row in Power Query

Hi all,

I have a table in Power Query which source from other Database as below with Veggie and Milk the main table. I would like to add new row to power query table which is the result of division row Veggie and Milk (as highlighted in Red). Anyone can help me with this? Thanks in advance!

qhpowerbi_0-1672383662928.png

 

 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @qhpowerbi 

try to 

1) transpose the table

2) add a custom column with [Viggie]/[Milk]

3) transpose back

 

about PQ transpose:

https://learn.microsoft.com/en-us/power-query/transpose-table

 

View solution in original post

2 REPLIES 2
qhpowerbi
Helper III
Helper III

This is brilliant! Thank you

FreemanZ
Super User
Super User

hi @qhpowerbi 

try to 

1) transpose the table

2) add a custom column with [Viggie]/[Milk]

3) transpose back

 

about PQ transpose:

https://learn.microsoft.com/en-us/power-query/transpose-table

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.