Problem Note 67691: You might not be able to add aggregated columns that come from a query in SAS® Visual Data Builder
In SAS Visual Data Builder, you might not be able to add columns that contain aggregations into your query. When you encounter this issue, nothing happens if you drag-and-drop the column from the Columns pane into the Query pane or if you double-click the column that you want to add into the query.
If you enable Developer tools in your browser and repeat the same step, the following error might appear:
SelectTable.controller.js?eval:1 Uncaught TypeError: Cannot read property 'dataType' of undefined
This problem might occur in a scenario similar to the following:
- Create a query in SAS Visual Data Builder.
- Select a data set. In this example, the SASHELP.CLASS data set is used.
- Select Sex and Age.
- Select the aggregations GROUP BY for Sex and MAX for Age.
- Save the query. In this example, the saved query is called DataQuery1.
- Open a new query (in this example, it is DataQuery2) and add DataQuery1 (the query that you saved previously):
- On the Select tab, add Sex. Note that it can be added without problems.
- Try to add Age_MAX as well. Nothing happens when you try to add this column and an error occurs, as shown here:
To work around this problem, when creating DataQuery2, add the output table generated by DataQuery1 rather than the query itself.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Visual Analytics | Microsoft® Windows® for x64 | 7.51 | | 9.4 TS1M7 | |
Linux for x64 | 7.51 | | 9.4 TS1M7 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2021-07-21 08:54:17 |
Date Created: | 2021-03-31 09:07:58 |