Function "SUM" doesn't support SUM(TEXT)

I have some fairly basic csv data that I am using Looker Studio to present.

Each week I add a new csv file to my data set. So far I have the below:

Each csv file has a column with a date and the reports are set to look at last weeks data.

I have just uploaded the wk34 data and i get this on all charts:

When looking at why I think its down to calculated field which causes a problem.

It shows “SUM” doesnt support SUM(TEXT)

but I am summing “stocked” which is a column with either a 1’s or a 0’s in it.

The report all worked fine last week so I am trying to work out how this could happen. The most recent data I have uploaded has a column heading and then just has 1’s or 0’s in it

Have you checked the CSV for mixed data types? This wouldn’t be an uncommon root cause of an issue like this.

Also, if there has been an update since you wrote the metric, you may need to add a space to trick LS into thinking you changed it in order for it to recalculate.