Multiple queries run into an error due to missing ; character using angular.js serialization.
Non-fixed versions can be patched like this:
/usr/share/grafana/public/app where the file
app.ca0ab6f9.js is located.
sed --in-place=backup 's/join("\\n");return k=k.replace/join(";\\n");return k=k.replace/;s/.replace(\/%3B\/gi,";").replace/.replace/' app.ca0ab6f9.js
\n character serialization with
Linked in Github