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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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