I am in need of an Alerter which is based on previous results in the column. Can’t figure out a way to do this. Any suggestions?
Specifically, I have a column of blood glucose results (numbers). I need an alerter that will highlight each case where there are three consecutive values equal to or greater than 250.
I am also encountering an issue with the simple alerter I started with. I set up the initial alerter to highlight each value in this column that is equal to or greater than 250, but in random cases it is highlighting numbers less than 250. The formula is simple (=[Result Value]>=“250”) and I don’t see how it would be making that error occur.
Based on the formula, I’m going to assume Web Intelligence for now. :?
Create a variable called flag, with the following formula:
=If([Result Value]>=250 And Previous([Result Value])>=250 And Previous(Previous([Result Value])) >=250;1;0)
Then create a Alerter that highlights the rows where the flag variable is equal to 1. It will highlight the 3rd consecutive value that is greater than or equal to 250. Here’s my test:
Thanks for the example, but I still don’t see how it’s applicable here.
I solved the issue with a little help from a friend - turns out the result was being returned as a string. By creating an object using the =ToNumber() function, I was able to apply the alerter to the new data object with no problems.
Glad you solved it :), that makes sense now.
Relative Value works pretty much the same as previous apart from you can step forward and backwards a number of rows, you do this with a postive or negative number. You can also use it with No filter().