QuickBase bar chart showing $ over time skips blank months instead of displaying months without $ as 0.

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
I have a QuickBase bar chart showing financial totals, grouped by month, based on a date field. The problem: months w/o any financial data (this happens in the slow winter season) are skipped instead of showing 0. The result is that visually, all months appear to have positive data, which is misleading. I want to show that there are months with $0 totals.


Photo of Leon

Leon

  • 0 Points

Posted 3 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,264 Points 20k badge 2x thumb
You have to (1) generate the chart using script or (2) modify a QuickBase rendered Chart to plug in the missing data. This timely post (which includes a demo) shows  you the general technique of how to modify a QuickBase rendered chart:

What Chart Enhancements Do You Need?
https://quickbase-community.intuit.com/questions/1447093
it isn't difficult and I was anticipating this question coming up when I made the post. In a nutshell you have to push an extra datapoint onto the x and y axes to represent the category that is missing and give it a zero count. It is a little more complicated than this because for consistency sake you should synthesize the drilldown URLs even though there is no data to drill into. 
Feel free to contact me off-world if you want a solution to this problem as it involves individualized script.
Photo of Leon

Leon

  • 0 Points
Hi, thanks very much for reviewing my question and providing a helpful response. Your solution looks like something I could figure out eventually (probably with more help) but given time constraints, I'm going to live without it for now. It's good to know that it is possible but would require some custom work. Thanks again.
Leon, the other simpler option would be to enter dummy data with zero sales dollars for every month on your chart.
Photo of Leon

Leon

  • 0 Points
Yes, thank you! That also works (I checked), although doing that would complicate my project counts, so I'm not going to go that route. I'll survive. I appreciate the ideas!
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,264 Points 20k badge 2x thumb
To encourage you to pursue a script solution to patch up your chart I wrote this Haiku:

QuickBase data
script, that chart,
To the zero in the financial.

http://www.languageisavirus.com/interactive-haiku-generator.html
Photo of Rebecca L

Rebecca L

  • 352 Points 250 badge 2x thumb
Hi, I'm having a similar issue, rather than dollars my chart shows count of activities in another table. I have no way to input a zero value for that. Is there another way I can achieve the same outcome?
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,224 Points 20k badge 2x thumb
I wrote this Haiku to encourage you to pursue a script solution:

common script 
common, that problem,
To the script in the outcome.
Photo of Rebecca L

Rebecca L

  • 352 Points 250 badge 2x thumb
Thank you for that, but I don't know how to write script
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,224 Points 20k badge 2x thumb
No problem. I don't really know how to write Haiku - I have to use a generator.

In any event, here is the updated link to the old post in the new forum:

What Chart Enhancements Do You Need?
https://community.quickbase.com/quickbase/topics/what-chart-enhancements-do-you-need

It looks like I never created an example to patch the missing data but there are two similar examples that (1) change the scale and (2) accumulate data of a previously rendered chart. It would be easy to use the same general technique to patch missing data although I would have to think about how to do it in a general way. Maybe I will create a demo - I will put it on my todo list again.

If you need a more immediate solution feel free to contact me off-world using the information in my profile:

https://getsatisfaction.com/people/dandiebolt