Symptom
When using the data label option “Prioritize front bar label” in a chart with a variance in SAP Analytics Cloud (SAC), it does not work/apply when the variance's values are negative.
Environment
SAP Analytics Cloud (Enterprise) 2023.21.16
Reproducing the Issue
- Create a new Optimized or classic story.
- Add a bar/column chart with 2 measures (measure 'A' and 'B') and a dimension.
- Move the measure 'A' bar to the front, select Show As > Layered Bars > Front in the Color section of the Builder panel.
- Add a variance comparing the 2 measures and set it to be shown as integrated on measure 'A'.
- Select Avoid Data Label Overlap > Prioritize Front Bar Label in the Data Label section of the Styling panel.
- Notice that for a positive variance it works, but as soon as a negative variance is shown, it shows the negative variance's value instead of measure 'A' value (Front bar).
====> 'Prioritize Front Bar Label' is ignored when the variance is negative.
Cause
'Prioritize front bar label' is working as expected as the chart does prioritize both the measure data value and the variance data value but since the chart size is too small for both values to fit, whichever label has space to show will be displayed.
==> In this case, it happens to be the outer labels.
Resolution
- You might be able to leverage the variance panel's 'Show Integrated Label with Base Label' in order to differentiate between the data label and the variance label.
- Please note that the smaller the chart size the more likely the data labels will be hidden. If you want the data labels to show at all times, please uncheck 'Avoid Data Label Overlap' in the styling panel.
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using SAP for Me, Google or Bing:
- https://me.sap.com/servicessupport/search#?q=SAP%20Analytics%20Cloud%20OR%20SAC&tab=All
- https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud Connection Guide
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
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.sap, https://hanacloudservices.cloud.sap, https://cloudanalytics.accounts.ondemand.com, https://hanacloudservices-us.accounts.ondemand.com, https://www.sap.com, https://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 , Story Design & Visualizations , Problem