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
Bundgaard86
New Member

Calculation diff in mintues between 2 samples in the same row

Hi

how to calculate the time in mintues from a tabel and a single column, that have 3 "users/produktion" lines.

each line in the table is a measurement, and i would like to count the mintues between each measurement / line no.

 

my goal is to show how many stops pr. line no, has there been which have lasted over 30 mintues.

 

also the data is coming from a SQL enviroment, this is just an example 🙂 i can provide the excel file if this makes it easier to try out 🙂

 

LocationLine NoDateTimestamp
DE106-02-20200:00:04
DE205-02-20200:00:07
DE205-02-20200:00:19
DE306-02-20200:00:43
DE106-02-20200:00:48
2 REPLIES 2
v-yingjl
Community Support
Community Support

Hi @Bundgaard86 ,

Sample data and expected output would help tremendously.
Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

 

Best Regards,

Yingjie Li

amitchandak
Super User
Super User

Can you provide more data and a sample output? Like the same location and date has the same line no, how to take diff.

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.