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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
singaramharish
Frequent Visitor

Line Item Fill rate

Hello,

 

I need help in finding the Line Item Fill Rate, please help me!

 

I have the columns, Order_id, Product_id, Order_qty, delivery_qty, in_full (full product quantities delivered).

 

Line Item Fill Rate = # of customer order lines filled completely / total # of customer order lines.

 

My understanding:

Filter order_id, then, Countrows(In_Full = 1) / countrows(filter order_id)

 

Here is the picture of the data, thanks in advance!

Data.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

measure=

var countinfull=calculate(countrows(TableName),TableName[In_Full]= 1)

var total = countrows(TableName)

return

divide(countinfull,total,0)

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi

 

measure=

var countinfull=countrouws(filter(order_id),oreder_id(In_Full = 1))

var total = countrows(order_id)

return

divide(countinfull,total,0)

This isn't working,
The formula is "Number of order lines shipped In Full Quantity / Total Order Lines"result.PNG

Here The line fill rate = 2/3
Please help with dax

Anonymous
Not applicable

measure=

var countinfull=calculate(countrows(TableName),TableName[In_Full]= 1)

var total = countrows(TableName)

return

divide(countinfull,total,0)

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.