Jump to content

Custom Expression help


Marcio Souza

Recommended Posts

Hi There!

 

I'm struggling to understand an error message when trying to make a custom expression for Calculated Value. Here is the Calculated Expression:

CASE WHEN [name] = "${markedLiga}" THEN uniquecount([match_api_id]) over (All([league_id]))

ELSE uniquecount([match_api_id]) over (All([country_id]))

ENDUsing the "uniquecount([match_api_id]) over (All([league_id]))" alone in the Calculated Expression it will work, but it doesn't work when wrapped by the CASE WHEN above mentioned.

What I'm missing here I'm getting a "Please specify an aggregation method" error when clicking the OK button.

Regards,

Marcio

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...