Power BI Error Reference_

Too many arguments were passed to the X function. The maximum argument count for the function is N.

The function received more arguments than its signature allows.

Why it happens

How to fix it

  1. Check the function signature and remove the extra argument.
  2. SWITCH takes an expression followed by value/result pairs, then an optional else — count them in pairs.
  3. Format the expression to see the argument boundaries.