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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
rmcgrath
Advocate II
Advocate II

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors