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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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