Forum Discussion
CarlsBerg999
Helper V
5 years agoMultiple and's in a calculated column
Hi, I have a dataset where i want to classify each row based on a few criteria. If Customer previously exists in the data AND the customer has signed a contract Then "value1" How do i wr...
- 5 years ago
Hi CarlsBerg999 ,
According to your judgment, I did the following test:
M = VAR cur_id = MAX ( Table1[Customer ID] ) RETURN IF ( MAX ( Table1[LAST_status] ) = 1 && MAX ( Table2[Customer] ) = cur_id, "old customer", "new customer" )
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.Best Regards,
HenryIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-henryk-mstf
Community Support
5 years agoHi CarlsBerg999 ,
According to your judgment, I did the following test:
M =
VAR cur_id =
MAX ( Table1[Customer ID] )
RETURN
IF (
MAX ( Table1[LAST_status] ) = 1
&& MAX ( Table2[Customer] ) = cur_id,
"old customer",
"new customer"
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.