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
samantha92
Frequent Visitor

Mean Time Between Failure

My goal is to have the equation below:

 

MTBF (Mean Time Between Failure)=(total # of equip in each category * 12) / (rolling 12 month sum of breakdowns in category)

 

My first data set contains every piece of equipment and references its equipment type.

equipment listequipment list

 

My second data set contains the notification date, breakdown indicator and equipment for all equipment that had issues. I'm only drawing data for the ones that actually have the breakdown indicator:

equipment with breakdownsequipment with breakdowns

 

I also have a Calendar reference table.

 

I will need to be able to graph total MTBF over all equipment types, and also break it down by equipment type monthly.

 

 
1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @samantha92 

You could create the relationship between first data and second data by equipment column.

and create the relationship between Calendar reference table and second data by notification date column.

Then create a measure like this:

https://www.sqlbi.com/articles/rolling-12-months-average-in-dax/

 

Best Regards,

Lin

 

Community Support Team _ Lin
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.