Formula Calculation within Reusable Components Question
I have created a reusable component (gallery) that has number of elements that can be turned off or on depending upon their specific use case. These elements contain formulas along the lines of CountRows(DataSource,ObjectParent=ThisItem.Object). Currently when I 'turn off' an element I am simply setting the elements 'Visible' attribute to false via a custom input variable.
My question: Does the element recalculate even if 'Visible' is set to 'false'? If yes, is there a more elegant way to stop the recalculation than simply adding a conditional to the formula itself (will still recalculate but can bypass the processing intensive portion)?