I have a problem in metabase. When i have a column with numbers and blank fields, metabase interprets the blank values as 0, when i use the number/score field value. But it should interpret the blank fields as NULL.
Hi @hokmoc
Post "Diagnostic Info" from Admin > Troubleshooting, and which database type you're querying.
And which database column type it is, and what the Field Type in Admin > Data Model is.
@hokmoc Which column are you having problems with?
Husk at jeg ikke ved noget som helst om din opsætning, så du bliver nødt til at forklare, hvis du spørger om hjælp, så jeg kan prøve at reproducere.
@hokmoc You change Field Type in Admin > Data Model > (db) > (table).
We are currently moving away from the old style of everything in one setting and splitting it out to Casting and Semantic.
The column is a string. Metabase currently does not support casting as something different in the GUI. You would have to do that with SQL. Example: select cast(some_varchar_column as integer) as col_converted from some_table
You could do this with a database View, so you don't touch the existing table, and then you would just let Metabase use that table instead.
It is by pure coincidence that MySQL allows doing aggregations on non-numeric columns - most other databases will throw casting errors.