Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

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],[...
  • amitchandak's avatar
    4 years ago

    Anonymous ,

     

    Column1= Switch(True() ,

    [A]<2 ,[A]
     [A]>=4 , max([A],[B]) ,
    [B]
    )