Forum Discussion
Shaji
6 years agoHelper I
Need Help
Hi All, I have table with muliple columns inlcusing the below two: Event Type AAA Cust123 BBB Cust123 AAA CP BBB CP AAA B2B BBB B2B now based on the above two ...
- 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
amitchandak
6 years agoSuper User
Shaji , you can use Switch True.
https://radacad.com/write-conditional-statement-using-switch-in-dax-and-power-bi
Shaji
6 years agoHelper I
I see that the SWITCH true statement only checks single column value. In my question I need to check Two COlumns and then print the results.