‘MOD’ is not a recognized built-in function name July 29, 2023 by Tarik The MOD keyword only exists in the DAX language (tabular dimensional queries), not TSQL Use % instead. Ref: Modulo