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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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