Check out example codes for "case when google data studio". It will help you in understanding the concepts better.
Code Example 1
CASE
WHEN Land IN ("USA","Kanada","Mexiko") THEN "Nordamerika"
WHEN Land IN ("England","Frankreich")THEN "Europa"
ELSE "Sonstige"
END
Learn ReactJs, React Native from akashmittal.com