Hello
I had a SQL script that worked with Metabase V0.38.
Select
(100/(1.0*
(SELECT count(*) AS count
FROM cell_tester_measurement_1
WHERE cell_tester_measurement_1
.FINISHED Result
<> ''
[[and{{Zeitspanne}}]]
[[and{{Monat_Jahr}}]]
[[and {{Battery_Type}}]]
[[and {{Teststatus}}]]
)))
(SELECT count(cell_tester_measurement_1
.Serialnumber
) AS count
FROM cell_tester_measurement_1
WHERE cell_tester_measurement_1
.FINISHED Result
= 'PASS'
[[and{{Zeitspanne}}]]
[[and{{Monat_Jahr}}]]
[[and {{Battery_Type}}]]
[[and {{Teststatus}}]]
) as Yield
Now I have also updated 0.40 and get an error.
... use near ánddate(´cell_tester_measurement_1´.´Date Measurement 1´) BETWEEN ´2021-12-01 00´at line 7
The Date format looks strange now.
In my Database i only have Date without Time.
Can anyone help me with that ?