Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |