from the your post, i guess only Mr.A is not associated Year3 and Year4. I guess other records have values for Year3 and Year4. If that is the case, then using inline table is not the answer. Instead you can
do as Mayil Vahanan Ramasamy said.
Or you can have user as a dimension and create an expression for each year so that the chart will always show all five years.
to calrify this question better.
thanks very much. i have attached a sample data. if you look A has year associated as 2000 and 2002. when i do display A's record the chart will show the values for A as year 2000 and 200 with values 12 and 5.. but i want to show year 2001 ,2004 as well though its not associated with a value 0. how could i achieve this.