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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jmac88
Frequent Visitor

Problem with Uptime Calculation

I am trying to calculate the uptime percentage with dynamic date ranges for all of my assets (Reactive Category), I have start time and end time of repairs, but I am having trouble defining availability time for my assets depending on the date range I select, the site is open 24/7.

 

I created a calendar table that is calculated with the dates on my raw data, and made the relation between both of them.

 

PBI 2.JPGPBI 3.JPG

 

I need to be able to select date ranges and based on the days selected, that it would calculate how many hours it is supposed to be available, and if there is downtime on that range, it calculates the uptime percentage.

 

The following image shows an example of the data I am working with:

PBI 1.JPG

 

Any thoughts on how to get this issue resolved will be greatly appreciated.

1 REPLY 1
v-zhenbw-msft
Community Support
Community Support

Hi @jmac88 ,

 

Sorry for that we are not clearly about your desire result.

Do you want to the difference between start and end? You can create a difference column using DATEDIFF function.

If it doesn’t meet your requirement, could you please show the exact expected result based on the table that you have shared?

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.