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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
MonikaSaravanan
Frequent Visitor

Need to check for a value if present in a column and calculate based on that

 

MonikaSaravanan_3-1677064403045.png

 

MonikaSaravanan_4-1677064403046.png

 

Hi All,

I'm kind of stuck with this requirement.Hope some guidance can be provided here.

I have to calculate break for a call handler who has worked the full 30 min slot.

There are certain rules to be placed before we calculate the breaks.

1) First slot and last slot do not qualify for break. In my example 08:00 and 09:30(first & last slot) - no break same like (10.30 & 11.30) - no break and (13:00 & 16:00) - no break

2) If they have worked for the full slot they are eligible for an amount of time e.g 30 seconds( all slots are 1800 secs or divided by 30 min)

 

The column values that are available is slot index and event time begin and event time.

 

Many thanks and I appreciate all kinds of input on this scenario.

 

2 REPLIES 2
serpiva64
Solution Sage
Solution Sage

Hi,

please post some sample data

NamescheddateevenstarttimetimeworkedslotnumberBreak
AAA22/02/202308:001800016no break(first slot)
AAA22/02/202308:30180001730sec
AAA22/02/202309:001800018no break(last slot)
BBB22/02/202308:001790016no break(first slot)
BBB22/02/202308:30180001730sec
BBB22/02/202309:001800018no break(last slot)
CCC22/02/202308:301800017-
CCC22/02/202309:00180001830sec
CCC22/02/202310:00180002030sec(or 60 secs added from previous slot)
CCC22/02/202310:301790021no break(because 18000 not worked)
CCC22/02/202311:00180002230 sec
CCC22/02/202311:30180002330 sec(or 60 secs added from previous slot)
CCC22/02/202312:001800024no break(last slot of work)

 

Hi please let me know if this helps

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors