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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Lookupvalue or alternative

Hi Experts 

 

I have two table both with a Million rows of data. Table A

Product Ref (text) 

Value (number)

 

Table B 

Product Ref (text) as per Table 

 

Both tabke are joined via a product key table which has distinct values (Product Ref)

As we have multiple entries in Table A for Product Key..

 

How can I get the values from table A into B. Power Query on merger crashes 

 

1 ACCEPTED SOLUTION
nirrobi
Helper V
Helper V

HI,

 

if there re multiple value for product A in table A which value you wish to bring to table B?

you can use the aggregation funcion like sum avg etc.

lookupvalue can get data from table B (unique) to table a pretty easily althoght most of the time the modeling handle this requirment pretty good

 

I find 2 function to acheive this calc

 

FROM A2 = CALCULATE( SUM( TableA[Column2] ) )
 
FROM A1 =
SUMX(
RELATEDTABLE( TableA ) ,
TableA[Column2]
)

View solution in original post

1 REPLY 1
nirrobi
Helper V
Helper V

HI,

 

if there re multiple value for product A in table A which value you wish to bring to table B?

you can use the aggregation funcion like sum avg etc.

lookupvalue can get data from table B (unique) to table a pretty easily althoght most of the time the modeling handle this requirment pretty good

 

I find 2 function to acheive this calc

 

FROM A2 = CALCULATE( SUM( TableA[Column2] ) )
 
FROM A1 =
SUMX(
RELATEDTABLE( TableA ) ,
TableA[Column2]
)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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