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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
JoernWittorf
New Member

Reference to a following or previouse row

Hi all, this is my first post and I am lost in calculating a column with DAX.

Here is the issue:

I have a file where I have one signal per minute if a machine is running=0 or standing=1.

I would now like to calculate for every interruption (time from when the value switches from 0 to 1 until when the value switches back from 1 to 0.

I managed to add a column to identify the first and last minute of an interruption.

My plan was eighter to bring the time stamp of the last minute into the same row as the first to then calculate the time difference, or to summarize the minutes from the first minute until the last.

Hope that someone can help me...

 

JoernWittorf_0-1667904096280.png

 

 

1 REPLY 1
v-luwang-msft
Community Support
Community Support

Hi @JoernWittorf ,

Please prepare a simple and easy to replicate data model and the results you want to get based on the data model.

 

 

Best Regards

Lucien

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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