Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
XA
Regular Visitor

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 2
v-easonf-msft
Community Support
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'.

veasonfmsft_0-1658735324525.png

 

Best Regards,
Community Support Team _ Eason

amitchandak
Super User
Super User

@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?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.