Orderable Charts

Good morning, I've done several searches here but now I'm going in circles.

I have a sheet with records of usage of certain scripts we have. Each row has the user name, the script they used and the time they saved by using each script.

My goal is to create a dashboard with two bar charts:

  • user name vs total time savings (ordered by highest time savings)
  • most used scripts (ordered highest count)

The charts are ready but the bars can't be reordered which makes them pointless. Also, the reports they've been created from can't be ordered based on the sums, which means this approach didn't work. I then tried using a blank sheet with formulas showing the total savings per user and create the chart on top of that but now my chart won't update when a new user shows up in the sheet.

Can anyone see a way I can achieve that? Thank you :-)


2023-06-28 08_45_55-Smartsheet.com.png


Best Answers

  • AravindGP
    AravindGP ✭✭
    Answer ✓

    I understand. Unfortunately, there is no other option that I see. One thing to make it easier for you to add the name is to have a helper column in the source sheet with a formula to identify duplicates. If there is a record with no duplicate (i.e., a new name added), you can get notified through a workflow and use that to add the name to your metric sheet.

    Thanks,

    Aravind

    Reach out for any help on licenses, configuration, or training

  • AravindGP
    AravindGP ✭✭
    Answer ✓

    You can use the below formula in a helper checkbox column. Using this formula, the helper column you create will be checked when there is no duplicate entry. You can then use the helper column being checked as the trigger to notify yourself to create the name in the metrics sheet.


    =IF(COUNTIF([User Name]:[User Name], [User Name]@row)>1, 0, 1)

    Thanks,

    Aravind

    Reach out for any help on licenses, configuration, or training

  • Genevieve P.
    Genevieve P. Employee Admin
    Answer ✓

    Hi@Floretti

    尝试添加一个@cell引用公式,这s can sometimes help with COUNTIFS looking at a number/text value:

    =IF(COUNTIF([User Name]:[User Name],@cell =[User Name]@row)>1, 0, 1)

    Let us know if that helped!

    Cheers,

    Genevieve

Answers

  • Hi There,


    I assume the sheet you've that is collecting the data is similar to the screenshot you have added. This means that you can't really get the number of times a script is used without the help of sheet summary or a separate metrics sheet to count the number of times a script has been used. In the metrics sheet, you can add in the unique users and do a sumif formula to get the time saved across all scripts. When you have a new user added to the source sheet, all you have to do is add the name of the new user to your metrics sheet and it will auto do the formula to get the time saved sum for that user. You can have the column of time saved in your metric sheet sorted to be highest to lowest and then modify your chart to have the values listed in the desired order.

    Thanks,

    Aravind

    Reach out for any help on licenses, configuration, or training

  • Thanks for the reply, Aravind. That definitely looks like an option I can use. Do you see any way to avoid the manual intervention when another user is added?

    We currently have a large number of users and high turnover, which means I'll have new names turn up very often and I'm expecting it to be hard to spot the missing ones amongst all the names.

  • AravindGP
    AravindGP ✭✭
    Answer ✓

    I understand. Unfortunately, there is no other option that I see. One thing to make it easier for you to add the name is to have a helper column in the source sheet with a formula to identify duplicates. If there is a record with no duplicate (i.e., a new name added), you can get notified through a workflow and use that to add the name to your metric sheet.

    Thanks,

    Aravind

    Reach out for any help on licenses, configuration, or training

  • That could work, thanks heaps Aravind. I'll try and implement that.

  • @AravindGPI realise it is off topic but any tips on how to achieve the formula to identify duplicates in the helper sheet? The rest is sorted as you suggested but I have no idea how to implement that part. Thank you.

  • AravindGP
    AravindGP ✭✭
    Answer ✓

    You can use the below formula in a helper checkbox column. Using this formula, the helper column you create will be checked when there is no duplicate entry. You can then use the helper column being checked as the trigger to notify yourself to create the name in the metrics sheet.


    =IF(COUNTIF([User Name]:[User Name], [User Name]@row)>1, 0, 1)

    Thanks,

    Aravind

    Reach out for any help on licenses, configuration, or training

  • Thanks so much but something very odd happened. It's considering the user 1104825 as a new user. Note that the user name is added via API and the user cell is fed the string "1104825", which ends up as '1104825 in Smartsheet. I wonder if that's what is causing the issue.

    image.png


  • Genevieve P.
    Genevieve P. Employee Admin
    Answer ✓

    Hi@Floretti

    尝试添加一个@cell引用公式,这s can sometimes help with COUNTIFS looking at a number/text value:

    =IF(COUNTIF([User Name]:[User Name],@cell =[User Name]@row)>1, 0, 1)

    Let us know if that helped!

    Cheers,

    Genevieve

  • @Genevieve P.Yep, that did the job, thank yoooou! :-)

    @AravindGPThanks again, I very much appreciate the help.

This works fine However when one of the Column is a ZERO, I get a #DIVDE BY ZERRO error displayed. To address this error, I used an IFERROR but it's giving me an \"UNPARSEABLE\" error. I want the cell to…","snippet":"I'm calculating a Burn Rate Percentage so it's using a basic calculation FORMULA =[Column4]@row \/ [Column2]@row --> This works fine However when one of the Column is a ZERO, I get…","categoryID":343,"dateInserted":"2023-06-30T16:32:54+00:00","dateUpdated":"2023-06-30T16:35:50+00:00","dateLastComment":"2023-06-30T18:58:03+00:00","insertUserID":161931,"insertUser":{"userID":161931,"name":"Christine Cao","title":"Engagement Manager","url":"https:\/\/community.smartsheet.com\/profile\/Christine%20Cao","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-01T00:40:29+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":91566,"lastUserID":45516,"lastUser":{"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-06-30T20:24:17+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":27,"score":null,"hot":3376296057,"url":"https:\/\/community.smartsheet.com\/discussion\/107147\/using-iferror-formula-still-getting-unparseable-error","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107147\/using-iferror-formula-still-getting-unparseable-error","format":"Rich","lastPost":{"discussionID":107147,"commentID":383396,"name":"Re: Using IFERROR Formula - Still getting UNPARSEABLE error","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/383396#Comment_383396","dateInserted":"2023-06-30T18:58:03+00:00","insertUserID":45516,"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-06-30T20:24:17+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Using Smartsheet","url":"https:\/\/community.smartsheet.com\/categories\/using-smartsheet"},{"name":"Add Ons and Integrations","url":"https:\/\/community.smartsheet.com\/categories\/apps-and-integrations"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-30T18:53:59+00:00","dateAnswered":"2023-06-30T18:25:40+00:00","acceptedAnswers":[{"commentID":383387,"body":"

You need to remove the closing parenthesis from before the comma.<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":343,"name":"Add Ons and Integrations","url":"https:\/\/community.smartsheet.com\/categories\/apps-and-integrations","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":[]},{"discussionID":107142,"type":"question","name":"Dynamic View not allowing editable field","excerpt":"Hi, I have 2 fields in my Dynamic View that are built exactly the same way. One is showing as Read Only and the other Required. They both need to be Required. Anyone else having this issue? I just built this last week and was working correctly until today.","snippet":"Hi, I have 2 fields in my Dynamic View that are built exactly the same way. One is showing as Read Only and the other Required. They both need to be Required. Anyone else having…","categoryID":343,"dateInserted":"2023-06-30T15:30:52+00:00","dateUpdated":null,"dateLastComment":"2023-06-30T16:08:48+00:00","insertUserID":116932,"insertUser":{"userID":116932,"name":"Darla Brown","title":"Executive Assistant\/Smartsheet Nerd","url":"https:\/\/community.smartsheet.com\/profile\/Darla%20Brown","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!2ijXPwm027Q!unNWp2GmkrQ!CBVsVJExguI","dateLastActive":"2023-06-30T18:53:06+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"updateUserID":null,"lastUserID":8888,"lastUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-07-01T17:02:07+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":21,"score":null,"hot":3376282180,"url":"https:\/\/community.smartsheet.com\/discussion\/107142\/dynamic-view-not-allowing-editable-field","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107142\/dynamic-view-not-allowing-editable-field","format":"Rich","lastPost":{"discussionID":107142,"commentID":383352,"name":"Re: Dynamic View not allowing editable field","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/383352#Comment_383352","dateInserted":"2023-06-30T16:08:48+00:00","insertUserID":8888,"insertUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-07-01T17:02:07+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Using Smartsheet","url":"https:\/\/community.smartsheet.com\/categories\/using-smartsheet"},{"name":"Add Ons and Integrations","url":"https:\/\/community.smartsheet.com\/categories\/apps-and-integrations"}],"groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/5JPTRQJ4FVMN\/image.png","urlSrcSet":{"10":"","300":"","800":"","1200":"","1600":""},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-30T16:04:54+00:00","dateAnswered":"2023-06-30T15:49:28+00:00","acceptedAnswers":[{"commentID":383344,"body":"

Hi @Darla Brown<\/a> <\/p>

I hope you're well and safe!<\/p>

Has anything in the sheet changed? Any formulas in the cells? <\/p>

I hope that helps!<\/p>

Be safe, and have a fantastic week!<\/p>

Best,<\/p>

Andrée Starå<\/strong><\/a> | Workflow Consultant \/ CEO @ WORK BOLD<\/strong><\/a><\/p>

Did my post(s) help or answer your question or solve your problem? Please support the Community by <\/em>marking it Insightful\/Vote Up, Awesome, or\/and as the accepted answer<\/em><\/strong>. It will make it easier for others to find a solution or help to answer!<\/em><\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":343,"name":"Add Ons and Integrations","url":"https:\/\/community.smartsheet.com\/categories\/apps-and-integrations","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":[]},{"discussionID":107125,"type":"question","name":"How to hide certain columns to certain poeple, while unhide to the rest","excerpt":"Hi Dear Community I am sharing my sheet to 2 groups of poeple, for group A they can see the entire sheet, but for group B I would like they to see only part of the columns. Both groups can edit what they can see in the sheet. Is there a way to acheive that? Thanks!","snippet":"Hi Dear Community I am sharing my sheet to 2 groups of poeple, for group A they can see the entire sheet, but for group B I would like they to see only part of the columns. Both…","categoryID":321,"dateInserted":"2023-06-30T09:24:53+00:00","dateUpdated":null,"dateLastComment":"2023-06-30T12:44:32+00:00","insertUserID":162810,"insertUser":{"userID":162810,"name":"流风回雪","url":"https:\/\/community.smartsheet.com\/profile\/%E6%B5%81%E9%A3%8E%E5%9B%9E%E9%9B%AA","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-30T11:58:57+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":139601,"lastUser":{"userID":139601,"name":"jmyzk_cloudsmart_jp","title":"jmyzk","url":"https:\/\/community.smartsheet.com\/profile\/jmyzk_cloudsmart_jp","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/ZBVD3K8PY0D5\/n7CZ1F4XWEM9Y.JPG","dateLastActive":"2023-07-02T00:56:31+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":4,"countViews":56,"score":null,"hot":3376248565,"url":"https:\/\/community.smartsheet.com\/discussion\/107125\/how-to-hide-certain-columns-to-certain-poeple-while-unhide-to-the-rest","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107125\/how-to-hide-certain-columns-to-certain-poeple-while-unhide-to-the-rest","format":"Rich","lastPost":{"discussionID":107125,"commentID":383311,"name":"Re: How to hide certain columns to certain poeple, while unhide to the rest","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/383311#Comment_383311","dateInserted":"2023-06-30T12:44:32+00:00","insertUserID":139601,"insertUser":{"userID":139601,"name":"jmyzk_cloudsmart_jp","title":"jmyzk","url":"https:\/\/community.smartsheet.com\/profile\/jmyzk_cloudsmart_jp","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/ZBVD3K8PY0D5\/n7CZ1F4XWEM9Y.JPG","dateLastActive":"2023-07-02T00:56:31+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Using Smartsheet","url":"https:\/\/community.smartsheet.com\/categories\/using-smartsheet"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-30T11:59:52+00:00","dateAnswered":"2023-06-30T10:33:48+00:00","acceptedAnswers":[{"commentID":383272,"body":"

Hi Dear Andrée Starå<\/strong><\/a><\/p>

Thank you so much for your solution!<\/p>

It can work, but more like a compromise way. Editing on a report is less convenient.<\/p>

It would be better for me to set access right to each column.<\/p>

But that can also work for now, thanks a lot.<\/p>

By the way are you a BOT?<\/p>"},{"commentID":383283,"body":"

@流风回雪<\/a> <\/p>

Excellent!<\/p>

Happy to help!<\/p>

I agree. Great idea! That would be a great addition to Smartsheet features.<\/p>

Please submit this as a Product Feedback or Idea <\/strong>(If it hasn't been added already)<\/em><\/strong> when you have a moment.<\/strong><\/a><\/p>

Haha!, No, I'm not a bot! 🤣<\/span><\/p>

Remember! <\/strong>Did my post(s) help or answer your question or solve your problem? Please support the Community by <\/em>marking it Insightful\/Vote Up\/Awesome or\/and as the accepted answer<\/em><\/strong>. It will make it easier for others to find a solution or help to answer!<\/em><\/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":[]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=341&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":5435,"limit":3},"title":"Trending in Using Smartsheet","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending in Using Smartsheet