Forum Discussion

pshetty05's avatar
pshetty05
Icon for Helper I rankHelper I
6 years ago
Solved

Convertir consulta SQL en expresión DAX

Hola gente, Espero que te vaya bien. ¿Puede alguien ayudarme a convertir esta consulta SQL en expresión DAX? SQL - Caso CUANDO ((CLIENT_STATUS ' 'SH' O PARTICIPANT_STATUS NO ES NULL) Y (TRUN...
  • amitchandak's avatar
    6 years ago

    @pshetty05 , Pruebe una nueva columna como


    QUALITY_CHECK de la casa de los
    interruptor ( true(),
    (([CLIENT_STATUS] á "SH" á not(isblank([PARTICIPANT_STATUS]))) && ([LAD_EMAIL_OPEN].date > today() -371))
    ([CLIENT_STATUS] <> "SH" && isblank([PARTICIPANT_STATUS]) && ([LAD_EMAIL_OPEN].date > today() -186)) ,
    'PASS' , 'FAIL' )