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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Deeks
Frequent Visitor

Please help - calculation incorrect for backlog

Hi, 

I am trying to calculate the amount that should be "backlog", so it has not been shipped yet. My current formula adds up everything up to the current week's date. I'd like it to add any amount that is new/backlog, but not shipped. For example, if a sales order has been marked as shipped, it should not be counted in the following week's backlog total. So, mathematically I'd want new+backlog-shipped as a total for each week. I have attached my dataset below. 

 

Deeks_0-1691421737993.png

BacklogDataset 

2 REPLIES 2
Gengar
Resolver I
Resolver I

Hi @Deeks ,

 

Try something like this:

Backlog Amount2 = CALCULATE ( [OverallValue], FILTER('OOR','OOR'[New/Backlog] = "Backlog"&&[isShipped]=FALSE())) + 0

Gengar_0-1692001291974.png

Best regards,

Gengar

 

Deeks
Frequent Visitor

Hi @Gengar 
Thank you for your response, it didn't quite work as I need it to, but I have found a workaround for this now, using original code. 

Helpful resources

Announcements
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.

Top Solution Authors