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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rqh
Frequent Visitor

On-Time Delivery Measure on Report

Hi everyone!

 

I'm looking to display on-time deliveries on the shipping segment on my report/dashboard.
I already created a calculated column to determine which line is either "on time" or "late."

All I need now is a measure that displays the amount of on time deliveries as a percentage. This is to compare delivery consistencies between several shipping companies. For example, Company ABC delivered 90% on time, and Company XYZ delivered 82% on time.

Please help me with creating a measure for this. If you think I approached this problem wrong from the start (my calculated column), feel free to enlightment me as well!

Screenshot 2024-06-03 142914.png

57e0c53a-e9f6-4e47-af7f-4c17f128eb80.png

8ac44d2e-d5e3-4fbe-b685-8956364f0df2.png

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@rqh there are many ways to solve this, here is a measure you can calculate on time %

 

Count = COUNTROWS ( YourTable )

OnTime % = 
DIVIDE ( 
    CALCULATE ( [Count], 'YourTable '[OnTimeLateColumn] = "OnTime" ),  
    CALCULATE ( [Count], ALLSELECTED ( 'YourTable '[OnTimeLateColumn] ) ) 
)


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

1 REPLY 1
parry2k
Super User
Super User

@rqh there are many ways to solve this, here is a measure you can calculate on time %

 

Count = COUNTROWS ( YourTable )

OnTime % = 
DIVIDE ( 
    CALCULATE ( [Count], 'YourTable '[OnTimeLateColumn] = "OnTime" ),  
    CALCULATE ( [Count], ALLSELECTED ( 'YourTable '[OnTimeLateColumn] ) ) 
)


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.