Forum Discussion
ayoubb
6 years agoHelper IV
Checking and correcting
Hello,
Please could anyone help me to correct this DAX below:
Ticket résolu = COUNTROWS(FILTER(RELATEDTABLE('Détail des DS'),'Détail des DS'[Statut demande de service] = "En cours","Ouvert","En attente"))
i want to calculate all what is in column except "En cours" and "ouvert" and "en attente", in this column i have also "Résolu" and "cloturé" and "retraité"
- Anonymous6 years ago
Hi ayoubb ,
Try this
Ticket résolu = COUNTROWS ( FILTER ( 'Détail des DS', NOT 'Détail des DS'[Statut demande de service] IN { "En cours", "Ouvert", "En attente" } && 'Détail des DS'[Agents] IN {"A","B","C"} ) )
Regards,Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)Did I answer your question? Mark my post as a solution!
5 Replies
- ayoubbHelper IV
I want to count row for the column "Statur demande de service" except "En attente" and "En cours" and "Ouvert"
- AnonymousNot applicable
Hi ayoubb ,
Ticket résolu = COUNTROWS ( FILTER ( 'Détail des DS', NOT 'Détail des DS'[Statut demande de service] IN { "En cours", "Ouvert", "En attente" } ) )
Regards,Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)Did I answer your question? Mark my post as a solution!