Error - The "format" setting can only be used for numbers

I keep getting this error. I have checked everything and cannot seem to clear it. I included screenshots of everything. I appreciate your help.

It looks like the error is due to missing values in the Invoice amount column. Once you dbselect value from that column, you get an empty string for rows #2 and #3. That causes formula format to throw an error (Money ($,.2f)). One quick fix here is to update the formula to force a numeric result. You can simply add 0: invoice.`invoice amount`+0.

Thank you