Oct 20 2023 04:38 PM
I'm getting a divide by zero error notification when using the code below on a text box in my power app. Incidentally, the calculation actually shows the correct result; the error is shown in a standard notification banner. If I switch the divide operator to an ampersand to simply connect the values, each value shows as a whole number (and not zero), so this error should not be occurring.
Any ideas?
Sum(
Filter('Dataset', Record.Value = recordID.Text),
'Value A'
)
/
(
Sum(
Filter('Dataset', Record.Value = recordID.Text),
'Value A'
)
+
Sum(
Filter('Dataset', Record.Value = recordID.Text),
'Value B'
)
)
Oct 25 2023 10:36 AM
Solution