cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

UpdateIf forall Shift Reduce Grammar issue ?

ClearCollect(MyPatchedRecords2;ForAll(TableMachineCounterDataModified;UpdateIf('[prodReporter].[Machine_counters_data]';
 Id = Id ;
{ 
   Id : Id;
   Machine_cycles_count : Machine_cycles_count;
   Last_Insert : Value(productionInput.Text) }
   ));{Success:"1"}));;
 Id = Id ;

For me PowerApps doesn't understand which Id he has to compare and he compare the id of

'[prodReporter].[Machine_counters_data]'.Id

with the id of

'[prodReporter].[Machine_counters_data]'.Id

Instead of using the  

TableMachineCounterDataModified.Id

How can use an other way to update 

'[prodReporter].[Machine_counters_data]'

with the content in 

TableMachineCounterDataModified

 
Best regards,
Robin Lotz

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: UpdateIf forall Shift Reduce Grammar issue ?

Ok i found a way to do so, i just rename the column 

TableMachineCounterDataModified.Id

in:

TableMachineCounterDataModified.DataId

 and now i got this:

 Id = DataId ;

 And its working, but i think 

 Id = Id ;

Should work or at least we should be allowed to use:

'[prodReporter].[Machine_counters_data]'.Id = TableMachineCounterDataModified.Id ;

 to specifie our self which table are used.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Re: UpdateIf forall Shift Reduce Grammar issue ?

Ok i found a way to do so, i just rename the column 

TableMachineCounterDataModified.Id

in:

TableMachineCounterDataModified.DataId

 and now i got this:

 Id = DataId ;

 And its working, but i think 

 Id = Id ;

Should work or at least we should be allowed to use:

'[prodReporter].[Machine_counters_data]'.Id = TableMachineCounterDataModified.Id ;

 to specifie our self which table are used.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Platform 24

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (4,881)