Hi and welcome to the forum

Try this little trick. In AD7 enter this and copy it down...
=IF(COUNTIF($A$7:A7,A7)=1,J7,"")
Then on your GRAPH DATA sheet, reference AD instead of J