How can we use sumiif function in google data studio

Viewed 32

We use Sumiif in excel and Google Sheets need.

Please let me know what is the function that we can use in google data studio instead of sumiif

Regards, Girish

1 Answers

in Google Data Studio you would need to use the CaseWhen. For example

SUM (Amount) WHERE (CASE WHEN Fruit = "Apple" AND Color = "Green" OR Color = "Red" ) then 1 else 0 END )

Related