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! Learn more

Reply
SM_1997
New Member

Creating a new column with multiple conditions

Hello! I am brand new to dax. I am trying to create a column that will return the machineid if status does not equal 3 and last change status date is the maximum.

 

I was able to get it to work for the last change status date but when I try to add in the status part via AND I am getting an error.

 

Can anyone possibly help me? Please let me know if you need more detail.

 

My Table/CommandMy Table/Command

 

1 ACCEPTED SOLUTION
harshnathani
Community Champion
Community Champion

HI @SM_1997 ,

 

Use && instead of AND.

 

Regards,

Harsh Nathani

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

what do you mean by  "last change status date is the maximum."

harshnathani
Community Champion
Community Champion

HI @SM_1997 ,

 

Use && instead of AND.

 

Regards,

Harsh Nathani

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.