Change a column value of a referenced table using value from this row

I know that we have the feature โ€œExecute an action on a set of rowsโ€ โ€ฆ
I am trying to do something really simple using it, but that just doesnโ€™t work and canโ€™t figure out.

Current Table 1 is Usuarios
Reference Table 2 is Troca

I wanna change the value of column Status of table Troca to โ€œAutorizadoโ€, only in the rows which have column โ€œNomeโ€ = Usuarios[_THISROW].[UserID]. The action is triggered from a row of table Usuarios. But that just doesnโ€™t workโ€ฆ

Solved Solved
0 5 569
1 ACCEPTED SOLUTION

I used FILTER instead of SELECT and it worked โ€ฆ why ??

View solution in original post

5 REPLIES 5

I used FILTER instead of SELECT and it worked โ€ฆ why ??

That would indicate that [Nome] is NOT the key column in the โ€œTrocaโ€ table.

True, i have made same mistake before cause i forgot about these KEYS.
Thank you!

Thank you, this is a good material explaining the relation and how actually some expressionas are built in. I should spend some time looking into these TIPS also, not only the Help material.
Thank you !

Top Labels in this Space