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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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