Skip to main content
1-Visitor
July 19, 2017
Solved

Find continuous values form Infotable and count

  • July 19, 2017
  • 2 replies
  • 1732 views

Hi, all

I have an infotable like this

Expectedlow boundup boundreal value
0.50.10.750.25
0.50.10.750.3
0.50.10.750.25
0.50.10.750.3
0.50.10.750.4

I have a problem, I want to get if real value>0.25 continuous then count +1,  or count =0.

So to my condiction the infotable count is 2, not 3.

Could anyone give me some suggestion how I do?

Best answer by posipova

You may use the "for" loop to go through the rows (myInfotablename.rows[RowNumber].realValue) with "if" condition comparing the (real value >0.25) and then setting your count variable appropriately.

2 replies

posipova20-TurquoiseAnswer
20-Turquoise
July 19, 2017

You may use the "for" loop to go through the rows (myInfotablename.rows[RowNumber].realValue) with "if" condition comparing the (real value >0.25) and then setting your count variable appropriately.

ecronos1-VisitorAuthor
1-Visitor
July 20, 2017

It works!
Thank you