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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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