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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Excel equivalent functions for DAX

Hi All,

I am looking for the Excel equivalent functions for DAX, can someone let me know how we can Implement the below functions in DAX.

 

Numbervalue

Sumifs

Vlookup

 

Regards,

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

NUMBERVALUE:

To convert text to number, you can use VALUE() function.

 

SUMIFS:

You can use CALCULATE() and apply filter context. Please refer to this blog: PowerPivot DAX: CALCULATE is a supercharged SUMIF

 

=CALCULATE(SUM(Table[Amount]),FILTER(Table,Table[Column1] = "A" && Table[Column2] = "B"))

 

VLOOKUP:

In DAX, it can't evaluate at cell level like VLOOKUP since it can only evaluate on row level. You can use RELATED(), RELATEDTABLE() or LOOKUPVALUE() to achieve similar logic. For more details, please refer to blogs below:

 

VLOOKUP Functionality in Power Pivot

Equivalent of VLOOKUP in DAX

 

Regards,

View solution in original post

3 REPLIES 3
X3svfdB1HOjKYc0
Regular Visitor

Value() is not working for me where =Numbervalue(reference,",",".") is the equivalent excel formula. 

 

For example I have the text 126.275,96 and the result is 126.27596 using value in BI instead of 126275.96 which the numbervalue formula in excel would return. For 815,48 I get the incorrect value of 81548 using the value formula in BI and the correct value of 815.48 using the numbervalue in excel.

v-sihou-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

NUMBERVALUE:

To convert text to number, you can use VALUE() function.

 

SUMIFS:

You can use CALCULATE() and apply filter context. Please refer to this blog: PowerPivot DAX: CALCULATE is a supercharged SUMIF

 

=CALCULATE(SUM(Table[Amount]),FILTER(Table,Table[Column1] = "A" && Table[Column2] = "B"))

 

VLOOKUP:

In DAX, it can't evaluate at cell level like VLOOKUP since it can only evaluate on row level. You can use RELATED(), RELATEDTABLE() or LOOKUPVALUE() to achieve similar logic. For more details, please refer to blogs below:

 

VLOOKUP Functionality in Power Pivot

Equivalent of VLOOKUP in DAX

 

Regards,

Anonymous
Not applicable

Thanks a lot Simon_Hou-MSFT  🙂

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors
Top Kudoed Authors