Forum Discussion

XA's avatar
XA
Regular Visitor
4 years ago

SQL to DAX

I'm trying to get the conversion from this SQL code to DAX:
Si([Ticket State]="12. Cerrado / Closed";
NingúnFiltro(Máx([Fecha de Ajuste Final]
En ([Ticket Id];[Create Time Note])) En ([Ticket Id]);Todos);"") ... some parts are in Spanish like, Si = IF , En = IN .

2 Replies

  • XA , What are you trying to do here.

     

    I think Switch true can help


    Can you share sample data and sample output in table format?

  • v-easonf-msft's avatar
    v-easonf-msft
    Community Support

    Hi, XA 

    I can't understand the filter conditions in your formula, can you explain it in detail?

    If you want to filter the data in the table, you can also filter the data directly through the 'Text' filter in 'Tansform Data'.

     

    Best Regards,
    Community Support Team _ Eason