SAP Knowledge Base Article - Public

3429611 - The COUNT Aggregation operation in the Numeric Pointer function is counting zero values in SAP Analytics Cloud (SAC)

Symptom

The COUNT Aggregation operation in the Numeric Pointer function in SAP Analytics Cloud (SAC) is counting the zero values although the underlying SAP BW query (using live data model) is defined to suppress zero values, and the Zero Suppression property for the Numeric Pointer function is switched on.

Environment

SAP Analytics Cloud (Enterprise)

Reproducing the Issue

    1. Login to SAC.
    2. Create a story based on direct live data connection to SAP BW.
    3. Insert a Numeric Point chart and create a COUNT aggregation e.g.:
      • Type: Aggregation
      • Operation: COUNT
      • Aggregation Dimension: Vendor
      • Measure: Total Amount
    4. The Numeric Pointer function will displaying e.g. 232 vendors.
    5. Insert a table based on the dimension Vendor.
    6. Exporting the table result in SAC to Excel: e.g. 230 vendors displayed.
    7. Difference of 2 vendors using Table function vs Numeric Pointer function in SAC. Same underlying BW query is used, and same filter has been applied.

    Cause

    • Product works as expected.

    Resolution

    • Product works as expected.
    • See below examples for Table and Chart:
      • Table: Here we have a measure and dimension and it displays 496 records since the values have a Null/Zero suppression at the query level. Here we try to query all the records and server after fetching all the records suppress the not values and return us the final data. In this case only 496 records are fetched. Now if we add the count calculation to the axis then it would fetch all the 498 records. If we place only the count calculation in the axis without any measure and dimension in the axis then it would display the value as 498(same as chart widget). When we do the calculation the server first calculates and then applies the suppression so 498 as value and not the other way around i.e. first suppress and then calculate which would give 496.
      • Chart: On chart we have the calculation only in the axis and it display 498. Here also the count calculation is calculated on the server like first calculate and then applies the suppression so 498 as value and not the other way around i.e. first suppress and then calculate which would give 496. If we place the dimension and measure on the chart without the calculation then the number of records fetched would be 496.

    See Also

    Your feedback is important to help us improve our knowledge base.

    Keywords

    SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped, sap analyst cloud, https://hcs.cloud.saphttps://hanacloudservices.cloud.saphttps://cloudanalytics.accounts.ondemand.comhttps://hanacloudservices-us.accounts.ondemand.comhttps://www.sap.comhttps://help.sap.com, predictive analytics (analysis), data analysis (analytics) tools, analytics tools, sap analytics cloud, data literacy, advanced analytics, data democratization, analytics software, real time analytics, self service analytics, advanced data analytics, analytics as a service, analytics cloud / cloud analytics, saas analytics, cloud bi, enterprise planning, cloud data analytics, cloud based analytics, analytics cloud platform, modern analytics, real time analysis, cloud analytics solution(s), what is sap analytics cloud, cloud analytics tools, analytics in the cloud, cloud analytics software epm, business intelligence , KBA , LOD-ANA-DES-CAL , SAC Story Calculations , LOD-ANA-UNS , SAC Unified Story (Story 2.0) main component. , LOD-ANA-DES , Story Design & Visualizations , Problem

    Product

    SAP Analytics Cloud 1.0