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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PBChecking01
Frequent Visitor

Calculating tariff bands

Hi I want to create a column or measure that will help me calculate how much a parking session is.

 

Below is my tariff rate table.

 

Example I may have a customer who parks in zone AA on a Monday between 10am till 18pm. I want to use the below tariff rate table to calculate how much this parking session will cost me.

   Tariff StartTariff EndTariff StartTariff EndTariff StartTariff EndTariff StartTariff EndTariff StartTariff End
ZoneCost of one hour staff parkingCost of one MinMondayMondayTuesdayTuesdayWednesdayWednesdayThursdayThursdayFridayFriday
A£3.00£0.0500008:3019:3008:3019:3008:3019:3008:3019:3008:3023:00
AA£1.00£0.0166710:0011:0010:0011:0010:0011:0010:0011:0010:0011:00
AA£1.00£0.0166715:0016:0015:0016:0015:0016:0015:0016:0015:0016:00
AS£1.00£0.0166709:0011:0009:0011:0009:0011:0009:0011:0009:0011:00
AS£1.00£0.0166714:0016:0014:0016:0014:0016:0014:0016:0014:0016:00
B£1.00£0.0166709:0018:0009:0018:0009:0018:0009:0018:0009:0018:00
BB£1.00£0.0166710:0011:0010:0011:0010:0011:0010:0011:0010:0011:00
BB£1.00£0.0166715:0016:0015:0016:0015:0016:0015:0016:0015:0016:00
2 REPLIES 2
FreemanZ
Super User
Super User

the other undefined hours are free? like 11:00 to 15:00 on Monday?

Yes correct! 🙂 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors