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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (3,601)