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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
learner03
Post Partisan
Post Partisan

Output based on older Delayed order dates

I have below example where I need to get output for location count based on the delayed orders.

In output for the first line, the date will start from tomorrow (to see how many location can be complted startting from tomorrow), the location count will have count of locations that are delayed and also those one who has Yes in the important column.

Delayed will be the orders created more than 3 days ago from tomorrow.

So first line will have total location count as-where ever orders delayed more than 3 days + orders that has Yes in Important.

 

Next line will have count of locations that has 2 days delay and so on.

In all the calculation (calculating delay or having next days in output- weekends to be excluded)

Input-

akapoor03_0-1661996217473.png

 

Output-

akapoor03_1-1661996319480.png

 

Thanks

 

 

1 ACCEPTED SOLUTION

@v-stephen-msft Thanks,Sorry  I wasn't clear. It's sorted for now.

View solution in original post

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @learner03 ,

 

Sorry, not very clear.

From your input data, how do I interpret the status of the delay? By which column is it judged?

Is there any connection between order date and date starting tomorrow?

Is 33 from output a sum of Day difference from tomorrow?

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-stephen-msft Thanks,Sorry  I wasn't clear. It's sorted for now.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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