Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Chronological Line Graphs/reporting where X-axis should be calendar


This topic is 4194 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm creating a reporting section for sales. I'm charting dollar value of sales on a weekly/monthly basis. To accomplish this, I have a list-view layout with sub summary parts grouped by week and a chart in the header which uses the sorted data. The reporting/charts is working as expected, but for weeks where there are no sales, there obviously no data. When I use a line graph, it doesn't necessarily show accurate chronological history. For instance, If I generate a monthly report from January to May and there were zero sales in February, I want to have February item along the x-axis with a zero value. How can I achieve this? I want a calendar as my x-axis values not the dates from my sales tables. 

 

Thanks

Posted

I also noticed this thread below which gave me some ideas: http://fmforums.com/forum/topic/85099-including-x-values-with-0-data/

 

I sort of solved it. Using chart with delimited data from two Global Fields. I have a script that loops though the week in a linear fashion and sets the X-values along the way and searches for records that occurred during that week. I grab the summary field with the total sales value for the found set and then move on to the next week. Seems pretty simple. 

This topic is 4194 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.