I want to do something like in the example, h...

I want to do something like in the example, how can I get the previous value for comparison.

what should be the formula for the previous value?

Thanks

0 15 519
15 REPLIES 15

Can you help me?

You can write the previos value with the app formula like LOOKUP([_THISROW].[DATE],TableName,โ€œDateโ€,New Value). Please remember that the value will change every time when you open & save the record even if you didnโ€™t change the โ€œNew valueโ€.

@Aleksi_Alkio @Lynn

Any other suggestions? Please help, I want to write the previous date and value on each line.

and these values will not change

@Test_Birimi You can also try to get previous row value in Google Sheets by using OFFSET function

The LOOKUP expression will do the job if you use the key column for it. In this sample I assumed that it would be the Date but itโ€™s probably the ID when I checked your table structure again.

@Aleksi_Alkio I submitted a table structure.

Hi @Test_Birimi I may have misunderstood your question but If Aleski solution is not doing the job, maybe try adding a VC to get the previous date and then use that to select new value for previous value.

MAX(SELECT(tblName[Date],[Date]=<[_THISROW].[Date]

then for previous Value select(tblName[New Value],[Date]=[VC].[DATE]

@Lynn

thanks i try now

@Lynn

select(tblName[New Value],[Date]=[VC].[DATE]

[VC].[DATE]

Error in expression [VC].[DATE]

I can not do this part, it gives an error

what is the problem?

Hi try ANY(SELECTโ€ฆ and put in your column and table names etc.

ANY(Select(Table[new value],[Date]=[VC Date].[Date]))

I understood in this way, but unfortunately did not happen

Top Labels in this Space