Jump to content
Sign in to follow this  
dayzrespite

Help with Get (CalculationRepetitionNumber)

Recommended Posts

Hello everyone,

I have been having some trouble trying to come up with a calculation.

I have a field called Bar set to 100 repetitions with the following calculation.

If ( 50 ≥ Get ( CalculationRepetitionNumber ) ; "█" )

This gives me the value "█" for the first 50 repetitions, which is fine.

However, when I reference a field instead of the number. The calculation only gives me the value for the first repetition.

If ( value ≥ Get ( CalculationRepetitionNumber ) ; "█" )

The field called value has a value of 50. But it doesn't evaluate as the first calculation using the number. Can anyone let me know why this is not working as I expect. Perhaps I am overlooking something obvious.

Thanks in advance!

Share this post


Link to post
Share on other sites

If - as it seems - Value is not a repeating field, you need to extend it in order to make it available to all the repetitions, e.g. =

  If ( Extend ( value )  ≥  Get ( CalculationRepetitionNumber ) ; "█" )

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.