Skip to content

Instantly share code, notes, and snippets.

@cddouglass
Created August 1, 2023 13:57
Show Gist options
  • Save cddouglass/da09bf99bc661ec28896e41db841c79e to your computer and use it in GitHub Desktop.
Save cddouglass/da09bf99bc661ec28896e41db841c79e to your computer and use it in GitHub Desktop.
SWITCH(
{Work Type},
"WAE - Club Booked", (MAX({Revenue} - 125, 0)*.2) + 125,
"WAE - Club Not Booked", ({Revenue}*.4),
{Custom Rate}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment