assign default value to field in crosstab query (1 Viewer)

kobiashi

Registered User.
Local time
Today, 03:27
Joined
May 11, 2018
Messages
258
hi

i have a crosstab query, that displays information dynamically, but i have set it to static, as the data fields never change, but what i have a problem with, is when there is no data in a field, the field displays but i need to carry out a calculation based on the data, so is there any way i can assign a default value to the query?

here is my query

Code:
TRANSFORM Sum(MainQuery_ENG_FP_RemainingVehicleWashes.totalSideWashes) AS SumOftotal
SELECT "Remaining" AS [Week No]
FROM MainQuery_ENG_FP_RemainingVehicleWashes
GROUP BY "Remaining"
PIVOT MainQuery_ENG_FP_RemainingVehicleWashes.Expr1 In ("Week 1","Week 2","Week 3","Week 4");
 

isladogs

MVP / VIP
Local time
Today, 03:27
Joined
Jan 14, 2017
Messages
18,209
Either that or I predicted the question before you asked it. :D
 

Users who are viewing this thread

Top Bottom