Created
November 20, 2018 22:43
-
-
Save MarissaJ/4e7eaefe8a405ab1554550bf7eb547e7 to your computer and use it in GitHub Desktop.
Get the last entry in a column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rows =thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")+1; | |
last_val= 0; | |
for(i=0;i<rows;i++) { if(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i)) | |
{ | |
Math.max(last_val= thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i)); } } last_val; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For more on how to use this expression and download a sample After Effects 2019 file here https://www.fluxvfx.com/data-driven-expressions-for-after-effects-2019/