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

Calculate 90% fillrate

Hello,

 

I have data table with tickets for multiple issues per dates as shown below. And from which, the TAT is calculated in new column.

In another table, there is index with days from 0-1000.

https://drive.google.com/open?id=1s51kbruRyDzq7fsG2J08Pnrt0XYTHN9Y 

 

Now would like to calculate in new column - new table

1) Count of tickets against each day mentioned in index

2) Avg of tickets for each day

3) Cummulative avg

4) Finally a formula which works in excel to determine the 90% fillrate

=IF(AND(I2<0.9,I3>=0.9),($F2+(0.9-I2)/(I3-I2)),0)

where "I" is Cu Avg and "F" is days.

table below for ref.

Days# of TicketsAvgCu 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 & Regards,

CS

 

4 REPLIES 4
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Could you please tell me what is the logic of the # of Tickets in your scenario? Based on that, we can create the calculated columns as below to work on it.

 

Avg_ = DIVIDE('Fillrate_'[# of Tickets],SUM('Fillrate_'[# of Tickets]))
cu avg _ = CALCULATE(SUM('Fillrate_'[Avg_]),FILTER('Fillrate_','Fillrate_'[Days]<=EARLIER('Fillrate_'[Days])))
Fillrate_ = 
IF (
    AND ( 'Fillrate_'[Avg_] < 0.9, 'Fillrate_'[cu avg _] >= 0.9 ),
    DIVIDE (
        'Fillrate_'[Days] + ( 0.9 - 'Fillrate_'[Avg_] ),
        ( 'Fillrate_'[cu avg _] - 'Fillrate_'[Avg_] ),
        0
    )
)

 2.PNG

 

For more details, please check the pbix as attached.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hi there,

in this AND condition

AND ( 'Fillrate_'[Avg_] < 0.9, 'Fillrate_'[cu avg _] >= 0.9 )

shouldn't it be AND ('Fillrate_'[cu avg<0.9 ? 

 

And is it possible to adapt this formula to calculate the 90% fill rate with a condition? For instance assuming there are different categories of tickets ? 

Anonymous
Not applicable

Hello,

But what does this fill rate calculate, it isn't the days needed to fulfill 90% of the tickets, right?

 

Thanks,

Mihnea

Anonymous
Not applicable

Hi,

Thanks for your support here!

# of tickets is distinct count of tickets per ageing.

Would you mind showing the samelogic in measures than column.

 

Regards,

CS

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.

Top Solution Authors