Hello everyone,
I have been struggling with a Power Automate flow for days and I'm hoping someone can help me.
My setup:
-
Excel Online (Business) file stored on OneDrive.
-
Table name: Tabela1
-
Columns:
-
ID(Key column, value: 001) -
Item(Text: Glicose) -
SaldoInicial(Number: 10) -
SaldoAtual(Number: 10, this is the column that needs to be updated) -
Retirada(Number: 0, this column updates correctly)
-
Microsoft Forms:
-
One question (choice): "Select item" (Glicose)
-
Second question (number): "Quantity withdrawn"
My Flow steps:
-
Trigger: When a new response is submitted (Microsoft Forms)
-
Get response details (Microsoft Forms)
-
Get a row (Excel Online Business) – Key column: ID, Key value: 001
-
Compose – Expression:
sub(int(coalesce(outputs('Obter_uma_linha')?['body/SaldoAtual'], '0')), int(coalesce(outputs('Obter_os_detalhes_da_resposta')?['answers']?[1]?['text'], '0'))) -
Initialize variable (NovoSaldo, Integer) – Value: Outputs from Compose
-
Update a row (Excel Online Business) – Key column: ID, Key value: 001
-
Advanced parameters:
-
Retirada(mapped to "Quantity withdrawn" from Forms) → WORKS -
SaldoAtual(mapped to variableNovoSaldo) → DOES NOT WORK
-
-
The problem:
The Retirada column updates correctly (e.g., if I withdraw 5, it shows 5).
The SaldoAtual column does not update at all (stays at the original value, e.g., 10).
The flow runs successfully with no errors.
I have already tried:
-
Using
coalesceandintin the expression -
Deleting and recreating the "Update a row" action
-
Renaming columns to simple names (no underscores, no spaces)
-
Converting the Excel range to a table (Insert > Table)
What I suspect:
The "Update a row" action is NOT writing to the SaldoAtual column, even though it is mapped correctly in the advanced parameters. The column name is exactly the same in Excel and in Power Automate.
Can someone please help me understand why Power Automate won't write to the SaldoAtual column?
Thank you very much!

Report
All responses (
Answers (