Just gimme the code! Here’s an example of a percent change calculation:Documentation Index
Fetch the complete documentation index at: https://lightdash-update-dbt-code-blocks.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.

column_i_want_to_rank- this is the column that you want to rankASCandDESC- if you want to have the biggest values with rank = 1, then you need to addDESCto yourORDER BYclause. If you want the smallest values with rank = 1 then you can addASCto yourORDER BYclause (this isn’t required, since the ordering isASCby default).