Using ArcGIS Pro 2.8, I am attempting to use the Virginia Census 2020 Redistricting Blocks Data located in the living atlas to use its Race and Ethnicity Block data for an analysis. The percentages given in the fields in the attribute table for this are said to be inaccurate, and within the pop up configuration are Arcade expressions calculating the aggregated percentages (which are more accurate) for each block. I am trying to find a way to use the calculated percentages within the Arcade expressions shown in the pop ups to make a Graduated Colors symbolization for each race and ethnic group, however simply copying and pasting each expression into the symbology pane's expression builder gives the error "Invalid expression. Error on line 2. Object not found $layer". I am not familiar with Arcade language but since this is already calculated in Arcade I am looking for a solution to symbolize this data and hopefully label it as well. Attached is the error with its Arcade expression and an example of a pop up showing the data I need symbolized.