Charts Plotting 0

Tama Wagner
Tama Wagner ✭✭✭
edited 12/09/19 inSmartsheet Basics

I recently contacted support to find out if there was an option within dashboard charts to keep the charts from plotting 0. I received the following response:

Currently we don't have a feature in place that will prevent specific values from showing on the chart. At this time the only solutions that we can provide would be to remove the zeros from the cells, which would prevent our system from detecting data and plotting data points, or modify the chart data to not include the future months.

Unfortunately, I do not have the ability to remove the 0's since my data comes from calculations, or modify the chart to not show future months, since we want to see future months compared to past year data.

I would like to vote to have the option to turn off values to be plotted in a chart, such as 0, so that my charts appear "cleaner".

«1

Comments

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi Tama,

    Great idea! That would be a great addition to Smartsheet features.

    Please submit an Enhancement Request when you have a moment.

    Hope that helps!

    Have a fantastic week!

    Best,

    Andrée Starå

    Workflow Consultant / CEO @ WORK BOLD

    work-bold

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå| Workflow Consultant / CEO @WORK BOLD

    W:www.workbold.com| E:[email protected]| P: +46 (0) - 72 - 510 99 35

    Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    I "hide" zeros in calculations quite frequently. Here is a basic example of how.

    Original formula:

    =COUNTIFS({Sheet A Range 1}, "In Progress")

    Gives me a count of how many "In Progress" statuses I have, but I want that cell to be blank if the count is zero or in other words: populate the number if it is greater than zero.

    So I use an IF statement to accomplish this.

    .

    =IF(COUNTIFS({Sheet A Range 1}, "In Progress")> 0,COUNTIFS({Sheet A Range 1}, "In Progress"))

    .

    It basically says "if original formula is greater than zero, run original formula. Leaving the "else" portion of the IF off means it will default to blank.

    I use it A LOT in my reporting metrics that feed dashboards.

  • Tama Wagner
    Tama Wagner ✭✭✭

    Thanks! I will give that a try.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
  • Hi@Paul Newcome- Your suggestion above for hiding "0s" using formulas works well. However, the charts still show the labels for which the values are blank. Is there a way to hide the labels from the axis as well?

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    @Sameer Khanna

    Insert another column and use a formula such as

    =IF([Column With Count]@row <> "", [Column With Label]@row)


    Then you can reference this column in your chart.

  • Thanks@Paul Newcome. This helps. Sorry, somehow missed this message earlier.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
  • Mathijs Muller
    edited 03/28/21

    @Paul Newcomewhat if the data is imported from an Excel sheet formula? We import excel data with formula's. In excel we can hide zero values, but when we import into Smartsheet the 0 does show. How can we remove them? We use the imported data to generate PDF documents, and now all the 0's show on the documents.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    @Mathijs Muller你would want to insert a helper column and use the formula outlined in my comment above where you say IF the value is greater than zero then display the value.

    I \"hide\" zeros in calculations quite frequently. Here is a basic example of how.<\/p>\n

     <\/p>\n

    Original formula:<\/p>\n

     <\/p>\n

    =COUNTIFS({Sheet A Range 1}, \"In Progress\")<\/p>\n

     <\/p>\n

    Gives me a count of how many \"In Progress\" statuses I have, but I want that cell to be blank if the count is zero or in other words: populate the number if it is greater than zero.<\/p>\n

    So I use an IF statement to accomplish this.<\/p>\n

    .<\/p>\n

    =IF(<\/strong>COUNTIFS({Sheet A Range 1}, \"In Progress\") > 0,<\/strong> COUNTIFS({Sheet A Range 1}, \"In Progress\"))<\/strong><\/p>\n

    .<\/p>\n

    It basically says \"if original formula is greater than zero, run original formula. Leaving the \"else\" portion of the IF off means it will default to blank.<\/p>\n

     <\/p>\n

    I use it A LOT in my reporting metrics that feed dashboards.<\/p>","bodyRaw":"

    I \"hide\" zeros in calculations quite frequently. Here is a basic example of how.<\/p>\n\n

     <\/p>\n\n

    Original formula:<\/p>\n\n

     <\/p>\n\n

    =COUNTIFS({Sheet A Range 1}, \"In Progress\")<\/p>\n\n

     <\/p>\n\n

    Gives me a count of how many \"In Progress\" statuses I have, but I want that cell to be blank if the count is zero or in other words: populate the number if it is greater than zero.<\/p>\n\n

    So I use an IF statement to accomplish this.<\/p>\n\n

    .<\/p>\n\n

    =IF(<\/strong>COUNTIFS({Sheet A Range 1}, \"In Progress\") > 0,<\/strong> COUNTIFS({Sheet A Range 1}, \"In Progress\"))<\/strong><\/p>\n\n

    .<\/p>\n\n

    It basically says \"if original formula is greater than zero, run original formula. Leaving the \"else\" portion of the IF off means it will default to blank.<\/p>\n\n

     <\/p>\n\n

    I use it A LOT in my reporting metrics that feed dashboards.<\/p>","format":"html","dateInserted":"2019-11-19T08:41:56+00:00","insertUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-08-25T17:46:09+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"displayOptions":{"showUserLabel":false,"showCompactUserInfo":true,"showDiscussionLink":false,"showPostLink":false,"showCategoryLink":false,"renderFullContent":false,"expandByDefault":false},"url":"https:\/\/community.smartsheet.com\/discussion\/comment\/229281#Comment_229281","embedType":"quote"}"> https://community.smartsheet.com/discussion/comment/229281#Comment_229281


  • @Paul Newcome嗨,保罗,谢谢你。然而,还不清楚to me where I add the formula? I import data from excel, which creates a new sheet. From the new sheet, I copy the row to my existing sheet. In this sheet where I copy to, the "zero" should be hidden/ taken out. Can I put the formula to cover the complete sheet?

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    你would insert the new column in the existing sheet. and put the formula into every row.

  • Jason P
    Jason P ✭✭✭

    @Paul NewcomeHi Paul. I've used the formula above but where the cell count was 7, on executing the formula the cell returns 0, what am I missing?

    =IF(COUNTIFS({Design - Request Register Range 3}, ($Category@row), {Request Tracker Range 2 - Status}, "In Progress") > 0, COUNTIFS({Design - Request Register Range 3}, "In Progress"))

    Cheers.

    Forever forwards Backwards never.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    @Jason PBoth COUNTIFS should be identical.

  • Josh Reed
    Josh Reed ✭✭✭✭✭

    @Paul NewcomeBeautifully simple and effective. Thank you! Seems obvious but I don't know if I'd ever have thought of it. The only downside is the formula doesn't work unless you type it all out again when used for longer formulas. I tried to copy/paste and no dice. Not sure why this happens, it seems like the Formula assist doesn't register each piece unless it is entered manually... Oddly enough if I write it out once I can then auto fill the other cells in rows/columns and edit the criteria accordingly and that works.

    *Shrugs

    The really negative part is not so much having to type it out as it is thinking the formula was somehow incorrect when I copy/pasted. I wonder if I just needed to refresh or something but I was getting the unparceable error


    Cheers,

    Josh

Hi, <\/p>

Add a \"Created By\" column in your sheet and turn on \"Required smartsheet login to access your form\" in your form setting. So that whoever fills out the form, their email id will be automatically captured in \"created by\" column. This will replace your \"Requestor Name\" column. <\/p>

Thank you!<\/p>


<\/p>

\n
\n \n \"Screen<\/img><\/a>\n <\/div>\n<\/div>\n
\n
\n \n \"Screen<\/img><\/a>\n <\/div>\n<\/div>\n


<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":204,"urlcode":"forms","name":"Forms"},{"tagID":247,"urlcode":"contacts","name":"Contacts"},{"tagID":334,"urlcode":"automations","name":"Automations"},{"tagID":448,"urlcode":"workflows-in-smartsheet","name":"Workflows in Smartsheet"},{"tagID":527,"urlcode":"columns","name":"columns"}]},{"discussionID":109475,"type":"question","name":"JOIN() Formula Result - Producing Apostrophe in Copied Cell Data","excerpt":"The issue involves the usage of the JOIN() formula within SmartSheet, which is resulting in the inclusion of an unwanted apostrophe when the formula's output is copied to another sheet. The JOIN() function is designed to concatenate values, but in this scenario, the copied data is displaying an apostrophe that is not…","snippet":"The issue involves the usage of the JOIN() formula within SmartSheet, which is resulting in the inclusion of an unwanted apostrophe when the formula's output is copied to another…","categoryID":321,"dateInserted":"2023-08-25T16:49:03+00:00","dateUpdated":"2023-08-25T16:52:43+00:00","dateLastComment":"2023-08-25T22:09:31+00:00","insertUserID":124290,"insertUser":{"userID":124290,"name":"Adriane Price","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Adriane%20Price","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!BmjXAS9m9aY!oUjUqI9WkTY!3brbJb9YCMB","dateLastActive":"2023-08-25T22:08:33+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"updateUserID":124290,"lastUserID":124290,"lastUser":{"userID":124290,"name":"Adriane Price","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Adriane%20Price","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!BmjXAS9m9aY!oUjUqI9WkTY!3brbJb9YCMB","dateLastActive":"2023-08-25T22:08:33+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":1,"countViews":19,"score":null,"hot":3385984114,"url":"https:\/\/community.smartsheet.com\/discussion\/109475\/join-formula-result-producing-apostrophe-in-copied-cell-data","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109475\/join-formula-result-producing-apostrophe-in-copied-cell-data","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":109475,"commentID":392674,"name":"Re: JOIN() Formula Result - Producing Apostrophe in Copied Cell Data","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/392674#Comment_392674","dateInserted":"2023-08-25T22:09:31+00:00","insertUserID":124290,"insertUser":{"userID":124290,"name":"Adriane Price","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Adriane%20Price","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!BmjXAS9m9aY!oUjUqI9WkTY!3brbJb9YCMB","dateLastActive":"2023-08-25T22:08:33+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-25T22:09:33+00:00","dateAnswered":"2023-08-25T22:09:31+00:00","acceptedAnswers":[{"commentID":392674,"body":"

Fixed, needed to add \"Value\" before the formula to remove the apostrophe.<\/p>


<\/p>

=VALUE(IFERROR(JOIN(DISTINCT(COLLECT([Customer PO Amount (USD)]@row:[Customer PO Amount (Local Currency)]@row, [Customer PO Amount (USD)]@row:[Customer PO Amount (Local Currency)]@row, <>\"//www.santa-greenland.com/community/discussion/comment/\"))), \" \"))<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"formulas","name":"Formulas"}]},{"discussionID":109460,"type":"question","name":"IF \/ OR formula then Check a Box","excerpt":"I need a formula that IF a specific column has either 1 of 2 specific choices, then a BOX in another column is checked: =IF(([Study Status]@row = \"Active\/ Open to Accrual\", 1) OR([Study Status]@row = \"In Start-Up\", 1))","snippet":"I need a formula that IF a specific column has either 1 of 2 specific choices, then a BOX in another column is checked: =IF(([Study Status]@row = \"Active\/ Open to Accrual\", 1)…","categoryID":321,"dateInserted":"2023-08-25T13:30:39+00:00","dateUpdated":null,"dateLastComment":"2023-08-25T16:21:27+00:00","insertUserID":9250,"insertUser":{"userID":9250,"name":"Susan Swisher","url":"https:\/\/community.smartsheet.com\/profile\/Susan%20Swisher","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-25T16:23:49+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"updateUserID":null,"lastUserID":161714,"lastUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-08-27T02:16:35+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":9,"countViews":48,"score":null,"hot":3385956126,"url":"https:\/\/community.smartsheet.com\/discussion\/109460\/if-or-formula-then-check-a-box","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109460\/if-or-formula-then-check-a-box","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":109460,"commentID":392616,"name":"Re: IF \/ OR formula then Check a Box","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/392616#Comment_392616","dateInserted":"2023-08-25T16:21:27+00:00","insertUserID":161714,"insertUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-08-27T02:16:35+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-25T15:13:03+00:00","dateAnswered":"2023-08-25T14:14:39+00:00","acceptedAnswers":[{"commentID":392575,"body":"

Give this a try:<\/p>

=IF(OR([Study Status]@row = \"Active\/Open to Accrual\", [Study Status]@row = \"In Start-Up\"), 1)<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"formulas","name":"Formulas"}]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=321&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":4992,"limit":3},"title":"Trending in Smartsheet Basics","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending in Smartsheet Basics