How can I chart the last 7 days that contain data?
Hello, I am capturing audit data utilizing the web form for smartsheet, and would like to use a line chart to show average compliance per day, for the last 7 working days. With the holiday weekend that just occurred, I have a 3 day hole in my chart.
I have been brainstorming and am trying to come up with a formula that will first check if there is data on the current date, then evaluate the previous date for data, and so on until there are 7 days with data.
I am fairly new to Smartsheet and am brushing off the function cobwebs, so any help would be appreciated.
Thanks,
-Jim
Best Answer
-
Try adjusting the formula in the DateHelper column so that it is a WORKDAY function.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
Are you able to provide a screenshot of the source data that you are using to create the graph?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hi Paul,
Here is the source data, DIVIDEBYZERO are dates where an audit has yet to be completed.
DateHelper is a simple TODAY() - X
Date is just converting the DateHelper into text so it can be charted
Line 1, Line 2 is showing the average compliance of the audits for each line by day
Here is the actual sheet the form data is loading into.
Please let me know if you need more information Paul,
-Jim
-
Try adjusting the formula in the DateHelper column so that it is a WORKDAY function.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Ah, like I said, function cobwebs! Thanks Paul.
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!