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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DanielHolland
Frequent Visitor

Up time and Down Time

Hi Guys, 

 

Im working on a report for Server/Application Up and down time. 

 

The Data i will be given on a monthly Basis is attached in a CSV

It shows the Critical system with the outage start time and end time and if the Outage was planned. 

 

I Would Like to set up a PBIX to show the "Critical System" with the Up and down time throughout the month. 

In line Chart BY day of the month. to show the down time and for how long.

 

Im hoping for some help on how i can do this.  

 

Cheers 

Dan 

 

Critical SystemOutage Start Date/TimeOutage End Date/TimePlanned or Unplanned?
Servers / Storage22/04/2022 08:0022/04/2022 08:05Unplanned
Application19/04/2022 06:0019/04/2022 16:00Planned
Application20/04/2022 09:0020/04/2022 10:00Unplanned

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@DanielHolland Seems like you need a variation of MTBF. See my article on Mean Time Between Failure (MTBF) which uses EARLIER: http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/3395....
The basic pattern is:
Column = 
  VAR __Current = [Value]
  VAR __PreviousDate = MAXX(FILTER('Table','Table'[Date] < EARLIER('Table'[Date])),[Date])

  VAR __Previous = MAXX(FILTER('Table',[Date]=__PreviousDate),[Value])
RETURN
  __Current - __Previous



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank you Greg, I did see this Article before i Posted the question. 

Its really Usefull, But i couldnt get it to work for my end report

 

- Im looking to select the month and then it show the Uptime and down time in a line graph By Day of the month ofthe critical system, Similar to the Image you included in your article.  

Using the CSV data that I mentioned in the question. 

 

DanielHolland_0-1650636215857.png

Apologies on the novice post.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.