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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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