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
williamadams12
Resolver I
Resolver I

Convert, Translate Lengthy Excel Formulas into DAX-Based Data Model in Power BI?

Hi all - I've been tasked with creating a data model in DAX/Power BI that replicates calculations from a complex Excel workbook which is full of conditionals, locked and relative cell references, column and row aggregations and other kinds of typical Excel formulas. Much of these are done to render a clean reporting view of the data, so I figured there's got to be a simpler, easier way to break down these calculations in DAX?

 

I've been able to make some progress on about half of it, but am stuck on the formula below.

 

I was curious to know if someone could offer some more generalized advice on how to approach these kinds of conversions or re-creations of Excel formulas. In Excel, I find many of the nested conditionals to be unreadable and confusing. 

 

I'm somewhat adept at DAX, but certain concepts still present challenges for me, so I was hoping this would be a great learning opportunity to really improve my skills and knowledge. 

 

Does anyone have any input or ideas about how best to approach solving for these kinds of conversion tasks from Excel into DAX?

 

williamadams12_0-1656438128797.png

 

 

 

1 REPLY 1
tamerj1
Super User
Super User

Hi @williamadams12 

the best best approach is not to think with excel mentality and stop trying to google translate excel formulas into dax. Please explain what are you trying to achieve ande provide sample data with the expected results so we can guide you through. 

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.