title: Type Mismatch: Date vs Boolean in tableau
body: <p>I want to display the max date when two of the other conditions meet:</p>
  
  <p>I am not sure what is the best way to to it is Tableau calculated field</p>
  
  <pre><code>{
  
  CASE [Due Date] WHEN  ([Data Type] = "REAL" and [Source] = "MMA")
  
  THEN
  
  {fixed :max([Due Date])}
  
  ELSE "" END
  
  }
  </code></pre>