Forum Discussion
Need Help
- Anonymous6 years ago
Hi Shaji ,
You can use SWITCH also
SWITCH(
TRUE(),
Table'[Event] = "AAA" && Table[Type] = "Cust123", "Customer",
Table'[Event] = "BBB" && Table[Type] = "Cust123", " Other Customer"
)
Regards
HN
Hi Shaji ,
Can you share the logic of the 3rd Column.
How do you identify if he is a customer, partner or others.
Regards,
HN
- Shaji6 years agoHelper I
So basicall we have two type of Event. IN the example it is AAA and BBB. And for each event there is a set of "Type" which will be common to both AAA and BBB.
So now if Event = AAA and Type=Cust123 i should get the NewType = Customer
similarly if Event = BBB and Type=Cust123 i should get the NewType = Other
So based on Column Event and Type I should get the result in NewType.
Hope you can get some idea on what I am looking for
- Anonymous6 years agoNot applicable
Hi Shaji ,
Not sure how will you replace Cust123 with Customer, etc... How many combinations like this do you have.
You can try this.
Column = IF('Table'[Event] = "BBB", CONCATENATE("Other " , 'Table'[Type]),'Table'[Type])Regards,Harsh Nathani- Anonymous6 years agoNot applicable
Hi Shaji ,
You can use SWITCH also
SWITCH(
TRUE(),
Table'[Event] = "AAA" && Table[Type] = "Cust123", "Customer",
Table'[Event] = "BBB" && Table[Type] = "Cust123", " Other Customer"
)
Regards
HN