Commonly faced errors in HANA modelling
For a user familiar with modelling using Eclipse, modelling in HANA Studio can be quite relatable.
The new concepts would be about different data sources, views (Attribute, Analytic, Calculated) and how to use them in the right context.
Here are some commonly faced errors and I attempt to provide easy solutions for the same:
1. Error: “The reporting enabled view does not have a measure defined”
We usually see this when we try to activate an Analytic or Calculation View which has a set of tables added to it and several columns defined as output.
This means that the view has only been defined with dimensions and does not have any measure upon which the Analytics or Calculation can be performed.
This can be rectified by creating a new measure or a counter. To do so, right click on the calculated column and select “New calculated column” or “New counter”
2. Error: No Attribute has been specified as key
This error occurs when a Key Attribute has not been specified in an attribute view. Validation and Activation of the view fails in this case.
3. Error: “Unable to preview the data since the view is either broken or inconsistent”
This error occurs when we try to do a Data Preview on the Analytic or Calculated view. The view has been validated and activated successfully. However we are not able to preview the data. This indicates there is a logical inconsistency in one of the input parameters/variables/measures that has been defined.
Although syntactically correct, there may be a wrong condition defined Ex: an incorrect filter condition chosen for a variable for which an expression has been defined.
4. Error: “SAP DBTech JDBC  (at 74): Invalid table name”
This indicates that the right table values are not being fetched for the condition/filter we are trying to specify. The solution may not be straight forward in this case. We can check if the table being used is the right one. If not, please get in touch HANA development support.