Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
HI Team,
I have a condition where the DateTime stamp is not periodic and Pressure should be in the range of 2000< Pressure < 4000
I have the desired calculations explained in the attached figure.
Raw data is with the time stamp and pressure values.
I have to calculate the Mean Time between Failures (good data duration) = MTBF
Mean TIme to restore Services (bad data duration)= MTTS
Can you please let me putting the logic.
Thanks in advance.
I'm not sure if I correctly understand the requirement, but you can probably do something like the following for MTBF to work.
1. Pressure within range = CALCULATE(SUM(Pressure), AND(Pressure >2000, Pressure < 4000))
2. MTBF = AVERAGEX(VALUES(Date), [Pressure within range])
2 is assuming that you have a date column whose grain is per row per day.
Hope this helps!
Thanks for the reply. although i am not really getting your logic applied.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |