Only display current requests

I have 2 books in my software, a manager and an employee, when an employee sends me a leave request I automatically receive it in my manager application for approval, so far no problem, but I can't enter it good formula to display only the current requests and those validated are automatically put on my history (there too no problem), I only want to hide the already validated requests

This message has been translated, I apologize if it contains grammatical errors.

Bonjour @Stph-1188 :wave:

Je suis heureux de vous aider :slight_smile: Pour cela, vous pouvez créer différentes listes à l'écran, qui n'affichent que les éléments d'un statut particulier. Ceci est réalisé avec un FILTER formule.

Par exemple, si vous souhaitez uniquement afficher les éléments qui nécessitent une révision, dans la source de la liste, vous écririez une formule qui ressemble à ceci :

=FILTER(Requests,"Requests[Status]=%","Needs Review")

Vous pouvez ensuite créer une autre liste filtrée pour n'afficher que les demandes approuvées (votre historique) :

J'espère que cela t'aides!

Un traducteur a été utilisé pour ce message, veuillez donc excuser toute erreur grammaticale.

1 Like

Thank you @Alyssa , it worked, I slowly start to take control, it's great I can do whatever I want, I looked in vain for a software or site to create my own software because those sold do not didn't suit me at all and frankly I'm thrilled with Honeycode, I can do so many things! :honeybee:
Only it works perfectly for 1 criterion but I would like to be able to put 2, I noted:

=FILTER(ldemande_de_conge,"ldemande_de_conge[Statut]=%","","En Attente")

But it doesn't show me anything anymore, I would also like to sort them in chronological order but I can't find the adequate formula

This message has been translated, I apologize if it contains grammatical errors.

Hi @Stph-1188,

J'apprécie que vous ayez tendu la main.

Vous pouvez utiliser des mots clés AND/OR pour ajouter plusieurs critères à la fonction FILTER(). Vous pouvez également trier les lignes par ordre chronologique à l'aide du mot clé ORDER BY. Les exemples suivants illustrent le propos. Vous pouvez également lire l'article sur le filtre du centre de connaissances:

=FILTER(ldemande_de_conge, "ldemande_de_conge[Statut]=% OR ldemande_de_conge[Statut]=% ORDER BY ldemande_de_conge[DateCOLUMN]","","En Attente")

=FILTER(ldemande_de_conge, "ldemande_de_conge[Statut]=% AND ldemande_de_conge[Statut]=% ORDER BY ldemande_de_conge[DateCOLUMN]","","En Attente")

J'espère que cela est utile.

Un traducteur a été utilisé pour ce message, veuillez donc excuser toute erreur grammaticale.

Thank you very much @Pankaj it works

1 Like

Hi @Stph-1188,

Thank you for the confirmation, and I'm glad it worked. If you have any further questions, please don't hesitate to reach out.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.