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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
rmcgrath
Helper I
Helper I

Perform a "VLOOKUP" in Power Query?

I am trying to add a custom column in Power Query.  This column needs to take the value from "Line Item ID" (highlighted yellow) and go to a separate table called "RawGLData" and sum up the values from the "Net" column that refer to the value in Line Item ID.  For example, it would take "Cash" and sum up the "Net" values only for "Cash" from the "RawGLData" table.  If there is no value in the "Line Item ID", I would want it to remain blank ("")

sample.jpg

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@rmcgrath , Merge the other table with the table and use the Aggregate option when you expand

Merge Tables (Power Query) : https://youtu.be/zNrmbagO0Oo

 

You can also check - power Query Table.AddJoinColumn https://youtu.be/-mThmfSaiV8

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@rmcgrath , Merge the other table with the table and use the Aggregate option when you expand

Merge Tables (Power Query) : https://youtu.be/zNrmbagO0Oo

 

You can also check - power Query Table.AddJoinColumn https://youtu.be/-mThmfSaiV8

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.