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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors