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! Learn more

Reply
Anonymous
Not applicable

Backlog from Excel into DAX/Power BI

Hey,

Hopeing to convert this Data from how it is stored into DAX/Power BI.

I can't work out how to get the backlog information to work, Here is the excel formula.
This is for the Monday
=IFERROR(IF(IF(Date!B42<=TODAY()+3,AD41-G41-H41-F41+S41,"")>0,IF(Date!B42<=TODAY()+3,AD41-G41-H41-F41+S41,""),0),"")

Zagarott_3-1658102247405.png

 


Zagarott_0-1658101926187.png

The information is now stored like this in Power BI,  Columns being Date, Received, Processed and Backlog (the numbers imported from the excel table.)

Zagarott_1-1658102090196.png

 

 

Thanks in advance!

2 REPLIES 2
Anonymous
Not applicable

Hey,

Unfortunately that doesn't look to work.

Currently this is what the data is outputting.

The old backlog is what I have manually entered from the Excel data, So Old Backlog is the target outcome i need.
The Recevied, Processed are just values as shown.
So need to work out how to get the Total Backlog to line up with Old Backlog.

 

Total Backlog is using the measure.

Backlog M =
 
 CALCULATE(SUM('Returns_Inboud/Outbound'[Total Units Processed]),filter('Returns_Inboud/Outbound','Returns_Inboud/Outbound'[Title1] <=maxx('Returns_Inboud/Outbound','Returns_Inboud/Outbound'[Title1]))) - CALCULATE(SUM('Returns_Inboud/Outbound'[Total Returns Received]),filter('Returns_Inboud/Outbound','Returns_Inboud/Outbound'[Title1] <=maxx('Returns_Inboud/Outbound','Returns_Inboud/Outbound'[Title1])))
 

Zagarott_0-1658178648351.png

 

amitchandak
Super User
Super User

@Anonymous , You have to take approach of onhand inventory to build cumulative and running total example

 

Inventory / OnHand
[Intial Inventory] + CALCULATE(SUM(Table[Ordered]),filter(date,date[date] <=maxx(date,date[date]))) - CALCULATE(SUM(Table[Sold]),filter(date,date[date] <=maxx(date,date[date])))

Inventory / OnHand
CALCULATE(firstnonblankvalue('Date'[Month]),sum(Table[Intial Inventory]),all('Date')) + CALCULATE(SUM(Table[Ordered]),filter(date,date[date] <=maxx(date,date[date]))) - CALCULATE(SUM(Table[Sold]),filter(date,date[date] <=maxx(date,date[date])))

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.