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
Highlighted
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
Highlighted
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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,142)