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.

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.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 52 members 3,909 guests
Please welcome our newest community members: