我想在y轴上显示季度而不是月份:
[![在此处输入图像说明] [1]] [1]
我该怎么办呢。
以下是我的询问:
SELECT *
FROM (
Select intervaldateMonth as Month, intervaldate as DateValue, intervalDateWeek as Datum,
SUM(GoodUnits) As GoodUnits,
SUM(TheoreticalUnits) As TheoreticalUnits,
from Count inner join tsystem ON Count.systemid = tsystem.id
where IntervalDateMonth >=getdate()-420
AND ((DATEPART(dw, IntervalDate) + @@DATEFIRST) % 7) NOT IN (0,1)
and tsystem.ID in (Select SystemID from tSystemViewSystem where SystemViewID = 2)
group by intervaldatemonth, intervaldate, intervaldateweek
) as s