Forum Discussion
Anonymous
4 years agoNot applicable
undefined
Hi, I have a calculated column in tableau like this:
Column1= if [A]<2 then [A]
elseif [A]>=4 then max([A],[B])
else [B]
END
How can I convert the same to DAX? Im having issues with max([A],[B]).
Thank you.
Anonymous ,
Column1= Switch(True() ,
[A]<2 ,[A]
[A]>=4 , max([A],[B]) ,
[B]
)
1 Reply
- amitchandakSuper User
Anonymous ,
Column1= Switch(True() ,
[A]<2 ,[A]
[A]>=4 , max([A],[B]) ,
[B]
)