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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.