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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Jay20024
Helper I
Helper I

Kind of Vlookup

Hi Folks,

 

I'd like to import data from a table to another.

 

Got a table with components and related flavors

 

Capture1.PNG

 

 

 

 

 

 

And another one with flavors and related points 

Capture2.PNG

Using Dax, I'd like to import the points to a new column either in the first table, either in a new table merging both.

 

To get this :

Capture3.PNG

 

I'd like to sum the number of point based on the components list.

 

Could you please help me ?

 

I thank you in advance.

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @Jay20024 ,

 

there are multiple ways to do so, like addiing a calculated column in table1 with such code:

 

column = 
LOOKUPVALUE(    
    Table2[Point],
    Table2[Flavor],
    Table1[Flavor]
)

 

 

if the tables are connected, it can be even simpler. 

View solution in original post

2 REPLIES 2
FreemanZ
Super User
Super User

hi @Jay20024 ,

 

there are multiple ways to do so, like addiing a calculated column in table1 with such code:

 

column = 
LOOKUPVALUE(    
    Table2[Point],
    Table2[Flavor],
    Table1[Flavor]
)

 

 

if the tables are connected, it can be even simpler. 

@FreemanZ

Easy indeed ! Many thanks for this. It works perfectly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.