Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe 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.
Hello Everyone, I have been trying to calculate the MTBF ( Mean time between failures ).
I have 3 columns, the Incident ID, the type of alert, and the downtime.
Below is the sample.
How do I calculate the uptime? I also have 2 columns start date and end date of these incidents.
Any help would be really appriciated
You need to use the start and end date/time of the incidents. You need to add that to your model.
The time between failures is the difference between the end of the first incident, and the start of the next one.
Getting the difference between the 2 rows can be tricky, but you should be able to do this in the Power Query Editor - you can use the technique here: https://community.powerbi.com/t5/Desktop/time-difference-between-2-rows/td-p/226755
Hello,
What is happening is my uptime is coming in negative sometimes. Not sure what I need to do.
It may not be sorting correctly. Check if the table is sorted chronologically.
Hello, the units are in decimal which represents fraction of days. What I am trying to calculate is the MTBF. I have calculated the uptime - not able to get the values for the MTBF
Hi, @spandana
It’s not clear what unit your downtime is, and what you want to calculate for each incident id or type of alert? Please explain more details.
Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.
Best Regards,
Community Support Team _ Janey
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
78 | |
52 | |
39 | |
35 |
User | Count |
---|---|
94 | |
79 | |
51 | |
47 | |
47 |