Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
I'm having an issue creating a column/measure that tells me the elapsed time during 2 different data states.
I have a single column with date/time, and another with a detected state: "MOTION_DETECTED" and "NO_MOTION_DETECTED".
Ideally, i'd like a column/measure that tells me the elapsed minutes from a motion has been detected, until it returns that no motion has been detected. Similarly, i would like a column/measure that tells me the elapsed time from no detected motion, until motion is detected.
Any tips? Data sample can be seen below:
Solved! Go to Solution.
Sorry for the late reply!
I found a solution to my problem by grouping the DeviceID together, and then indexing it by the timestamp. This guide was helpful in case others have a similar wish:
https://radacad.com/power-query-transformation-pattern-convert-status-log-dates-table-to-start-and-e...
Hi @Anonymous ,
Could you pls show what you want expected output reusult according your base data?
Best Regards
Lucien
Sorry for the late reply!
I found a solution to my problem by grouping the DeviceID together, and then indexing it by the timestamp. This guide was helpful in case others have a similar wish:
https://radacad.com/power-query-transformation-pattern-convert-status-log-dates-table-to-start-and-e...
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 73 | |
| 50 | |
| 46 | |
| 44 |