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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Create measure to obtain fillrate in days

Hello,

 

Could somebody help me in getting the performance fillrate in days at 90%. I have the input data as shown below, and would like to know what is the performance in days to resolve the 90% of tickets.

 

TicketsDays to resolve
A0
B2
C3
D0
G2
F0
H0
I4
J6
K9
L2
M1

 

We have excel calculation which results out the performance in days as shown below. 5.8 Days is the output in the given sample.

Days# of TicketsAvg**bleep** Avg90% Fill Rate
0433%33%0
118%42%0
2325%67%0
318%75%0
418%83%0
500%83%5.8
618%92%0
700%92%0
800%92%0
918%100%0

 

Thanks,

CS

 

1 ACCEPTED SOLUTION

Hi , @Anonymous 

Create mesure as below:

 

Test = 
var currentOrder = MAX('Sheet1'[order_to_delv])
var nextOrder = CALCULATE(MIN('Sheet1'[order_to_delv]),FILTER(ALLSELECTED(Sheet1),'Sheet1'[order_to_delv]>currentOrder))
var NextRunningTotal =
    SUMX (
        CALCULATETABLE(DISTINCT('Sheet1'[order_to_delv]),
        FILTER (
            ALLSELECTED ( Sheet1),
            Sheet1[order_to_delv] <=nextOrder
        )),
        CALCULATE(
        DIVIDE (
            CALCULATE(COUNT ( Sheet1[order_no] )),
            CALCULATE (
                COUNT ( Sheet1[order_no] ),
                ALLEXCEPT ( Sheet1, Sheet1[hp_receive_date], Sheet1[order_no] )
            )
        )*100)
    )

var CurrentRunningTotal = [RunningTotal]
return IF(CurrentRunningTotal<90 && NextRunningTotal>=90,(currentOrder + (90-CurrentRunningTotal)/(NextRunningTotal-CurrentRunningTotal)),0)

 

 

Check below  pbxi file.

pbix attached

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

14 REPLIES 14

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.