Change infos on a pie chart METABASE

Hello hello,

I am requesting your help because I am a 100% noob on Metabase...

Here is the pie chart I currently have.

01
13

How can I get this pie chart instead with a modified legend and serie?

11

Thank you so much!

Hi @mtxs
You would either need to use remapping:
https://www.metabase.com/docs/latest/administration-guide/03-metadata-editing.html#remapping-column-values
Or create a custom column, where you rename the returned values:
https://www.metabase.com/learn/questions/custom-expressions

It's currently not possible to rename via the visualization settings:
https://github.com/metabase/metabase/issues/9312 - upvote by clicking :+1: on the first post

1 Like

Hello @flamber,

Thanks your quick response!

I have made the changes I wanted by using a condition in the SQL native query (CASE).

It's like this:

Select Case
When XXX Then 'True'
Else 'False'
END
from the_table;

11

I am still a noob but I am making progress thanks to you!