Jump to content




Compare records in chart



  • Please log in to reply
6 replies to this topic

#1 OFFLINE   appleskrott  newbie

appleskrott
  • Members
  • PipPipPipPip
  • 4 posts
  • FM Client:11 Advance
  • Platform:Mac OS X Lion
  • Skill Level:Entry Level
  • Time Online: 1h 47m 42s

Posted 21 February 2012 - 06:22 AM

I have a newbie question. Hoping someone can help me out, or point me in the right direction.

I have a file with two main databases:
1. employees
2. how each employee does in sales per day.

So I have nice lists with a day-to-day sale overview for each employee.

Easy to make a chart for each employee - but I would like to do a graphical comparison as well.

Now I would like to make a layout where I can compare "Employee #1" and "Employee #2" in a "line chart". The chart would have one lines for each employe showing sales over time. The horizontal x-axis would show dates, and the vertical y-axis would show amounts.

The best solution would be a simple finished solution with two drop down menus for choosing two employees - and that this generates a chart. The chart should be look just simple like this:

employee.jpg

Does anyone know how do I make this work?


Thanks,
Appleskrott

#2 OFFLINE   comment  consultant

comment
  • Members
  • 21,137 posts
  • Time Online: 187d 10h 40m 8s

Posted 21 February 2012 - 07:56 AM

View Postappleskrott, on 21 February 2012 - 06:22 AM, said:

The chart would have one lines for each employe showing sales over time. The horizontal x-axis would show dates, and the vertical y-axis would show amounts.

That sounds simple enough - provided both employees worked on the same days. Otherwise it gets much more complicated.

#3 OFFLINE   appleskrott  newbie

appleskrott
  • Members
  • PipPipPipPip
  • 4 posts
  • FM Client:11 Advance
  • Platform:Mac OS X Lion
  • Skill Level:Entry Level
  • Time Online: 1h 47m 42s

Posted 21 February 2012 - 10:10 AM

View Postcomment, on 21 February 2012 - 07:56 AM, said:

That sounds simple enough - provided both employees worked on the same days. Otherwise it gets much more complicated.

Yes, the days are the same. I have tried a couple of different approaches, and my problem is that I can only choose one employee at a time. When I try to choose two employees the graph disappears. How do I solve this?

#4 OFFLINE   comment  consultant

comment
  • Members
  • 21,137 posts
  • Time Online: 187d 10h 40m 8s

Posted 21 February 2012 - 11:16 AM

View Postappleskrott, on 21 February 2012 - 10:10 AM, said:

Yes, the days are the same.

If you are sure of that, try it this way:

Attached Files



#5 OFFLINE   appleskrott  newbie

appleskrott
  • Members
  • PipPipPipPip
  • 4 posts
  • FM Client:11 Advance
  • Platform:Mac OS X Lion
  • Skill Level:Entry Level
  • Time Online: 1h 47m 42s

Posted 21 February 2012 - 02:42 PM

View Postcomment, on 21 February 2012 - 11:16 AM, said:

If you are sure of that, try it this way:

Thank you! That worked perfectly for me!

#6 OFFLINE   appleskrott  newbie

appleskrott
  • Members
  • PipPipPipPip
  • 4 posts
  • FM Client:11 Advance
  • Platform:Mac OS X Lion
  • Skill Level:Entry Level
  • Time Online: 1h 47m 42s

Posted 22 February 2012 - 01:10 AM

One problem though. I seem to get the dates of some records in the wrong order. Starting with the newest date instead of the oldest. How do I fix this? And why does it only happen with a few employees?

#7 OFFLINE   comment  consultant

comment
  • Members
  • 21,137 posts
  • Time Online: 187d 10h 40m 8s

Posted 22 February 2012 - 04:19 AM

Try sorting the two relationships by Date.


Quote

And why does it only happen with a few employees?

Could it be because they backdated their data?


Back to Charting


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

FMForum Advertisers