Hello everyone,
I'm trying to expand an app, where I've come across a challenge.
I have a button that creates a new item in a sharepoint library, based on week numbers, and I only want the newest week to appear in the library for other use in the app.
But I dont know how to write the code I need for it to look up in the sharepoint library, and remove other elements that does not have the week number I just wrote.
I'm looking for something like
If(
Lookup(
Sharepoint library; Title != Textinput.Text);
#Where I want it to delete the items that does not equal the week number, and not do anything if it is the same
But I dont know how to write the code.
Any help is much appreciated!