web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Suppress zero values for data labels in a stacked column chart

(0) ShareShare
ReportReport
Posted on by 100

How do I use XML to suppress zero values for data labels in a stacked column chart?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Muhammad Adeel Javaid Profile Picture
    5,580 on at

    The steps below will work on a regular chart..not sure about stacked...

    1) in Preview mode of the report click on a Y axis value and go to Data Y Axis Options

    2) go to Scale and set  a Minimum Value of .001

    3) check the Don't Draw Out Of Scale Values

  • Suggested answer
    Muhammad Adeel Javaid Profile Picture
    5,580 on at

    This is a proposed XML to set values in chart:

    <chart>

      <chart_label prefix=''

                   suffix='m'

                   decimals='1'

                   decimal_char='.'

                   separator=''

                   position='middle'

                   hide_zero='false'

                   font='arial'

                   bold='true'

                   size='10'

                   color='FFFFFF'

                   alpha='90'

                   />

    </chart>

  • Mohammad Atif Profile Picture
    on at

    Hi Doug,

    is  the solution shared by Adeel  worked for you ?

    Thanks,

  • Suggested answer
    Community Member Profile Picture
    on at

    In the label format you can specify how positive, negative and zero values appear, and use '' for zero so that they become invisible.

    See: crmchartguy.wordpress.com/.../labelformat-cheat-sheet

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans