Hi, I couldn’t find anything on this, maybe there’s a simpler solution.
I’ve updated Metabase to 0.33 yesterday and noticed that all the custom-set column types (Percent and Currency, which we’re using extensively) have been reset to default.
Snooping in the database, I’ve discovered that report_card.visualization_settings column is being filled differently in 0.33, though the old settings are still there. An example:
{
“table.pivot_column”: “Cohort”,
“table.cell_column”: “ARPU”,
“column_settings”: {
“[“name”,“ARPU”]”: {
“number_style”: “currency”,
“currency_in_header”: false
},
“[“name”,“IAP ARPU”]”: {
“number_style”: “currency”,
“currency_in_header”: false
},
“[“name”,“Ad ARPU”]”: {
“number_style”: “currency”,
“currency_in_header”: false
},
“[“ref”,[“field-literal”,“IAP ARPU”,“type/Decimal”]]”: {
“number_style”: “currency”,
“currency_in_header”: false
},
“[“ref”,[“field-literal”,“Ad ARPU”,“type/Decimal”]]”: {
“number_style”: “currency”,
“currency_in_header”: false
}
}
}
The “ref” blocks were added when trying to restore the original style. The other bits have been there before, but apparently no longer amount to anything (as a bonus, the “ARPU” column has long been removed from Question, but remains as clutter for some reason).
Why?
Is this a major bug (will it be fixed anytime soon?), or are column styles not supposed to be backwards compatible, and I need to start updating the massive heap of Questions we have?