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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

measure delivery on time in variable time zone

I want to measure the quote for the delivery on time and for each customer. The borders, when a delivery is on time, are variable.

For example: All deliveries, who 3 days too early and 1 day too late, are ok. 

 

Can someone help me with the problem?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@amitchandak I have found a solution for this problem. 

 

MicrosoftTeams-image.png

View solution in original post

5 REPLIES 5
Anonymous
Not applicable
amitchandak
Super User
Super User

@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

My idea is to define 2 variables. but i don´t know how I should do it. 

Here one step of my idea: 

 

delivery loyalty quote =
Var delivery_loyalty = CALCULATE(COUNTROWS('orders'),FILTER('orders',AND('orders'[days of delay]>= Lower_boundary, 'orders'[days of delay] <= Upper_boundary)))
 
return
delivery_loyalty / [no. of orders]

 

Beispieldaten.PNG

Anonymous
Not applicable

@amitchandak I have found a solution for this problem. 

 

MicrosoftTeams-image.png

@Anonymous , Kudos to you. If possible, can share some more information on how you solved it using the above model.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.