I have a calculated field: Sum(Gallery1.AllItems, HOURS).
I would like to show the result on a different screen, but duplicating it gives a circular ref warning.
How can I convert a calculation value to a text label?
Solved! Go to Solution.
Hi @Englishweb ,
Do you want to use the result of "Sum(Gallery1.AllItems, HOURS)" in multiple screens?
I suggest you save this formula's result as a variable.
Then use the variable in multiple screens, for example, display in a text label.
Could you tell me the formula in Gallery1's Items property?
If the items in gallery1 will not change, you could directly set the screen's OnVisible that has gallery1:
If the items in gallery1 will change based on a button or a drop down, you need to set the button's OnSelect or the drop down's OnChange to this formula:
Then, set the label's Text:
The label will display the calculated result, no matter in which screen.
Thank you both for your help.
The Set variable works, but the value is the same for each record in the 2nd Gallery.
How do I combine a variable with ThisItem,Student1 to get individual results for each record? At the moment it just displays the last value recorded.
The filter for the Calculation Gallery is:
Filter(DFTCURRENTHRS;TutorSurname = LabelTutorNameSurname.Text
The calculation field is: Sum(GalleryCurrentHrs1.AllItems; HOURS)
Hope you can help!
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights