metabase-google-sheets-add-on
metabase-google-sheets-add-on copied to clipboard
Possibility to add variables
Hello all, I was wondering if there is a possibility to add variables to this script? my questions usually depend on a id number that I have as a variable, I tried to hard-code like
function getQuestionAndFillSheet(baseUrl, token, metabaseQuestionNum, sheetName) { var questionUrl = baseUrl + "api/card/" + metabaseQuestionNum + "?id=1193" + "/query/csv";
but it throws an error saying that the end point does not exist :(