Forum Discussion

JojoH's avatar
JojoH
New Member
4 years ago
Solved

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...
  • smpa01's avatar
    4 years ago

    JojoH  provide more details about those two tables

  • v-angzheng-msft's avatar
    4 years ago

    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 Zheng

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.