This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Process - Insert rows up to "Number" in input - Initialise field "factorial" = 1 - Update Factorial (grouped by "Number" to [RowCount] * [Row-1:Factorial] - Set a "Result" field to 1 if RowCount = Number (else 0) - Filter for Result =1 - Clean up fields - Convert input to a macro input (right-clicked on input) and selected "Convert to macro input" - Added macro output - Added to container (not sure that is necessary...) - Saved as macro - Configured image using Interface Designer
Probably not the intent but i took this as an opportunity to use R-Script.... So you don't need a macro, However i Packaged my answer up into one anyhow to comply with the aim... This is my first script and there was a little trial and error, So you will see i left some messages in the script that helped me work out the syntax.