Forum Discussion
Ad a flag
Bonjour,
J'ai besoin d'aide s'il vous plaît pour une fonction DAX
J'ai une table "employee" avec un identifiant ID
J'ai une autre table "registeredemployees"
Je voudrais ajouter un champ dans ma table "employé" pour identifier les employés qui sont inscrits
comment puis-je procéder depuis DAX s'il vous plaît ?
Je voudrais ajouter un champ comme
ID EMPloyés | DRAPEAU Enregistré
1 T
2 F
3 T
Je vous remercie
JojoH provide more details about those two tables
Hi, JojoH
Sample:Measure:
Flag = IF(MAX('Employee'[ID]) in VALUES(Registeredemployees[ID]),"T","F")Result:
Please refer to the attachment below for details.
Hope this helps.
Best Regards,
Community Support Team _ Zeon ZhengIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- v-angzheng-msftCommunity Support
Hi, JojoH
Sample:Measure:
Flag = IF(MAX('Employee'[ID]) in VALUES(Registeredemployees[ID]),"T","F")Result:
Please refer to the attachment below for details.
Hope this helps.
Best Regards,
Community Support Team _ Zeon ZhengIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- JojoHNew Member
Thank you !