title: rawsql query in tableau
body: <p>I am trying to run <code>RAWSQL_REAL("select sum(amount_us)from gbsa_dpo_itg.Fact_tblHistoryData_new where qtr_data='Q42014'")</code> in calculated field and I am getting error message <code>ERROR 2133:  Aggregate function calls cannot contain subqueries</code>.</p>
  
  <p>I am using tableau 8.3.3 and HP Vertica database live connection to tableau</p>
  
  <p>When I run the same query in custom sql it is working fine </p>
  
  <p>pleas help in this </p>
  
  <p>thanks in advance</p>