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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.