Forum Discussion
rbartlejr
Helper III
6 years agoProblems with MTBF calculations
I've been trying to emulate the MTBF calculations in this blog post: https://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/339586. I'm having problems with ...
- 6 years agoLooks like you are missing a comma or semi-colon after the VAR next line.
- 6 years ago
Yes! I was missing the comma. BTW I just bought your book. Thanks for your help!
Greg_Deckler
Community Champion
6 years agoSounds like you need to change the commas to semi-colons ( ; ). Regional language settings.
- rbartlejr6 years ago
Helper III
Greg_Deckler Ok, I tried that and get this error: EARLIER/EARLIEST refers to an earlier row context which doesn't exist. I looked in the data and there are more than one asset #s in several rows.
- Greg_Deckler6 years ago
Community Champion
And is this a column you are creating? It should be a column and not a measure if I remember correctly.- rbartlejr6 years ago
Helper III
It shows in the blog article as a measure; the data is set into columns for date, asset #, etc. I can calculate a column for the repair time (already done) since the Repair Hours measure didn't work either.