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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.