Hello,
I have an Edit form connected to an SQL Data Source. I have three fields that are in number format in SQL:
WorkOrderNumber
QtyCompleted
TotalQty
In the QtyCompleted card, I want the value to be the sum of the TotalQty column for the particular work order number. Here is my formula:
On the Default of the Card
Sum(Filter('[dbo].[Mechanical]', WorkOrderNumber = DataCardValue3.Text),TotalQty)
I get an error stating that it is an incompatible type and that the values being compared aren't the same. The left value is a number and the right value is a text type.
Anyone have an idea of how I can fix this?
Thanks