Learn business growth with Google Analytics 4 Forums Google Analytics 4 Error encountered while calculating median using percentile_cont function Reply To: Error encountered while calculating median using percentile_cont function

  • Samuel

    Member
    3 July 2023 at 3:29 am

    The error message is saying that the function “PERCENTILE_CONT” isn’t being used correctly. This function needs two specific types of numbers as inputs, but in your code, it’s getting a different type of data that it doesn’t know how to handle. To fix this error, you need to make sure that the data you’re feeding into the function is of a compatible type. From the error message, it’s clear that supported types are decimal numbers (FLOAT64), precise numbers (NUMERIC), and large precise numbers (BIGNUMERIC). Keep in mind that these requirements may vary depending on your specific data and setup.