I have a one chart in a report, that in legend of chart I want to show date(readdate field).when the dates(readdate field) is more than one date I don't have any problem but when date(readdate field) is only one date, in place of date field, legend show other field(level field).
row source of that chart is:
TRANSFORM Avg(Q1.SumOfIDispA) AS AvgOfSumOfIDispA
SELECT Q1.level
FROM (SELECT AllSumation.readdate, AllSumation.level, AllSumation.SumOfIDispA, AllSumation.INC FROM AllSumation WHERE AllSumation.INC= 'IS-11-4 ') AS Q1
GROUP BY Q1.level
PIVOT Q1.readdate;
Attachment file a: one date
Attachment file b: more than one date