bowieknife
Technical User
Does anyone know how to get a chart to show "1st", "2nd", etc. for a quarterly chart? I utilized the chart wizard and am having trouble with this. Thanks in advance.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
TRANSFORM Sum([CountOfShipment Id]) AS [TheValue]
SELECT Choose(DatePart("q",[Actual Shipment Date]), "1st","2nd","3rd","4th") & " Quarter " & Year([Actual Shipment Date])
FROM [QryShippingGFP]
GROUP BY Choose(DatePart("q",[Actual Shipment Date]),"1st","2nd","3rd","4th") & " Quarter " & Year([Actual Shipment Date])
PIVOT [Veh Type Desc];
TRANSFORM Sum(QryShippingGFP.[CountOfShipment Id]) AS [SumOfCountOfShipment Id]
SELECT Format([Actual Shipment Date]-(Weekday([Actual Shipment Date])-8),"Short Date") AS WeekOf
FROM QryShippingGFP
GROUP BY Format([Actual Shipment Date]-(Weekday([Actual Shipment Date])-8),"Short Date")
PIVOT QryShippingGFP.[Veh Type Desc];
TRANSFORM Sum(QryShippingGFP.[CountOfShipment Id]) AS [SumOfCountOfShipment Id]
SELECT [Actual Shipment Date]-(Weekday([Actual Shipment Date])-8) AS WeekOf
FROM QryShippingGFP
GROUP BY [Actual Shipment Date]-(Weekday([Actual Shipment Date])-8)
PIVOT QryShippingGFP.[Veh Type Desc];
TRANSFORM Sum(QryShippingGFP.[CountOfShipment Id]) AS [SumOfCountOfShipment Id]
SELECT DateValue([Actual Shipment Date])-(Weekday([Actual Shipment Date])-8) AS WeekOf
FROM QryShippingGFP
GROUP BY DateValue([Actual Shipment Date])-(Weekday([Actual Shipment Date])-8)
PIVOT QryShippingGFP.[Veh Type Desc];