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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Yrstruly2021
Helper V
Helper V

Calculating Activities between time points.

I would like to check for eligible activities (is to take all activities between the last refuelling activity, and the current refuelling activity, and checking if the activities are eligible or not). This is done with sql. i would like to do a Powerbi report.

 

It appears there are  occurrence of multiple refuelling activities in an extremely short time frame.

pbi.png

No activities between the transaction on 16:04 and 16:16, as the truck was obviously standing still getting refuelled.

 

With the current process, the fuel transactions after 16:04, are all marked as ineligible.

 

I need this into the calculations. All I can think of is to aggregate them into a single transaction, but this might cause issues with reconciling fuel activities with usage logbooks, and we might have an issue tying up the document numbers with the correct transactions, as well as providing evidence for the transactions when required?

 

 

1 REPLY 1
lbendlin
Super User
Super User

Do you have sanitized sample data that you could share with us in usable format (ie not as a screenshot) ?

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.