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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mrcss23
Advocate IV
Advocate IV

PRODUCT and VLOOKUP in DAX power bi

Hi. I have imported two tables in power BI.

Table 1 has values for several employes.

Table 2 has a rate for each employee.

I would like to SUM the result of product VALUE (table 1)* Rspective RATE (table 2).

In Excel I use PRODUCT and VLOOKUP,

The final result should be total of that column (126, 91 in the example below)

 

What should be the DAX in POWER BI?

Thank you!

Captura de ecrã 2022-09-22 183152.png

1 ACCEPTED SOLUTION
mrcss23
Advocate IV
Advocate IV

I just found a way!!!
 
Result = SUMX('Table 1','Tavle1'[VALUE]*RELATED('Table 2'[Rate]))

View solution in original post

3 REPLIES 3
mrcss23
Advocate IV
Advocate IV

I just found a way!!!
 
Result = SUMX('Table 1','Tavle1'[VALUE]*RELATED('Table 2'[Rate]))
Greg_Deckler
Community Champion
Community Champion

@mrcss23 There is an equivalent PRODUCT function in DAX, although you can just use *. Also there is PRODUCTX. For VLOOKUP either use LOOKUPVALUE or MAXX(FILTER(...),...)



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

I know the fuctions but I am not being able to achieve the result. Any suggestion?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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