Sum(
Self.AllItems,
lblHeight.Text
)
However, both of these approaches have been inconsistent—sometimes they work, and other times they do not. To resolve this issue, I had to replace these with CountIf(Datasource, true) > 0 in the visibility property for every instance where a gallery is used to ensure consistent functionality. Anyone else facing this issue?