In the current calculation we are not multiplying by 100. This new value will help us to explain the result, as it shows the percentage of tickets you are being able to digest per week. So it is more easy to be explain that if BMI is 90%, it means that you are being able to close 90% of the tickets and a 10% goes to the backlog.
.es(index=github_issues, q='pull_request:false', timefield=closed_at).divide(.es(index=github_issues, q='pull_request:false', timefield=grimoire_creation_date)).label('BMI').color(#99af5d),
.es(index=github_issues, q='pull_request:false', timefield=closed_at).divide(.es(index=github_issues, q='pull_request:false', timefield=grimoire_creation_date)).movingaverage(8w, 'left').label('BMI Moving Avg. (8 weeks)').color(#c83d32),
.es(index=github_issues, q='pull_request:false', timefield=closed_at).divide(.es(index=github_issues, q='pull_request:false', timefield=grimoire_creation_date)).trend().label('BMI trend'),
.es(index=github_issues, q='pull_request:false', timefield=closed_at).divide(.es(index=github_issues, q='pull_request:false', timefield=grimoire_creation_date)).aggregate(avg).label('Avg. BMI').color(#e6b740)