Macro

Macros are functions that are written in Jinja. This allows us to write generic logic once, and then reference that logic throughout our project.

Creation steps:

  1. Declare the macro by wrapping Jinja expression block

  2. parametrize the hard code (column/ value)

    Untitled