Do you have any question about this error?
Message type: E = Error
Message class: R9 - Business Explorer
Message number: 087
Message text: Query does not contain key figures
A query cannot be processed without a key figure.
Please select a key figure. There are two possibilities for the key
figure selection:
You select a key figure in the filter.
You define data columns with key figure selections.
Error message extract from SAP system. Copyright SAP SE.
R9087
- Query does not contain key figures ?The SAP error message R9087, which states "Query does not contain key figures," typically occurs in the context of SAP BW (Business Warehouse) or SAP BI (Business Intelligence) when you are trying to execute a query that does not include any key figures. Key figures are essential components in reporting as they represent measurable data, such as sales amounts, quantities, or other numerical values.
Cause:
- Missing Key Figures: The query you are trying to execute does not have any key figures defined. This can happen if the query was created without selecting any key figures or if all key figures were removed from the query layout.
- Query Design Issues: There may be issues in the query design, such as filters or restrictions that inadvertently exclude all key figures.
- Data Source Issues: The underlying data source may not have any key figures available, or the key figures may not be properly defined in the InfoProvider.
Solution:
Check Query Design:
- Open the query in the Query Designer.
- Ensure that at least one key figure is included in the query. You can do this by dragging key figures from the available key figures list into the query structure.
Review Filters and Variables:
- Check if there are any filters or variables applied that might be excluding key figures. Adjust or remove these filters as necessary.
Validate Data Source:
- Ensure that the InfoProvider (e.g., InfoCube, DSO) used in the query contains the necessary key figures. You can check this in the Data Warehousing Workbench or InfoProvider settings.
Recreate the Query:
- If the query is still not functioning correctly, consider recreating it from scratch, ensuring that you include key figures during the design process.
Check Authorizations:
- Ensure that you have the necessary authorizations to access the key figures in the query. Lack of authorization can sometimes lead to issues in displaying data.
Related Information:
By following these steps, you should be able to resolve the R9087 error and successfully execute your query with the necessary key figures included.
Get instant SAP help. Start your 7-day free trial now.
R9086
Insert key figure in cell &1
What causes this issue? Cells override not only the selections of the rows but also selections of the columns. For this reason, they also require a k...
R9085
Insert key figure
What causes this issue? Data columns that contain a key figure selection already exist. Therefore, the current column definition must also contain a ...
R9088
Cannot delete; query has not been saved
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
R9089
Cannot execute; query has not been saved
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.