기술 자료

라이브 SAP HANA 뷰에서 차원/Fixed LOD를 사용하면서 필터도 사용하면 "Abstract Query SELECT [$temp4_<field>] is not defined" 오류가 발생함


게시 날짜: 15 Feb 2019
마지막 수정 날짜: 24 Aug 2022

문제

Using a Dimension or a Fixed LOD in a live SAP HANA view to also filter the view causes this error to occur:

"Abstract Query SELECT [$temp4_<field>] is not defined"

환경

  • Tableau Desktop 2018.2.6, 2018.3.3, 2019.1.0
  • Live SAP HANA
  • Native Connector

해결 방법

Option 1

Upgrade to Tableau Desktop 2018.3.6 or a newer version. See Tableau Desktop Downloads and Release Notes for downloads of current and previous versions of Tableau Desktop.  For more information on current releases, see Upgrade Tableau Desktop and Desktop Upgrade.

Option 2

In some cases, this error may only appear when trying to filter to greater than 2 values in the view. The below workarounds still apply.

Workaround 1
Use an ODBC connection, instead of the native SAP HANA connector. (Note: Some features may be lost when using this connector.)

Workaround 2

If the field being filtered on is a Dimension, follow the below steps:
  1. Open a new Calculated field and type the following:
  2.  [field] + ""
  3. Press OK.
  4. Drag this field to the view.
  5. Drag the original field to filters.
  6. The error should no longer appear as Tableau now sees the Calculated field and the Original field as two different fields.

Workaround 3

If the field being filtered on is a Fixed LOD, try modifying the calculation to be based on an Include or an Exclude function.

Workaround 4 

Use an Extract instead of a live connection.

원인

This issue (ID: 876421) has been resolved in a neewer version of Tableau Desktop. 
이 문서로 문제가 해결되었습니까?