Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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-
Output-
Thanks
Solved! Go to Solution.
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.
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |