BI Portal Designer - Queries > Additional Query Capabilities > Advanced Queries
  PPT
Advanced Queries
 
In the Advanced Tab, after making any change to the SQL code, the “Next” button becomes active.