metabase-google-sheets-add-on icon indicating copy to clipboard operation
metabase-google-sheets-add-on copied to clipboard

Possibility to add variables

Open dannet0 opened this issue 2 years ago • 0 comments

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 :(

dannet0 avatar Dec 08 '22 14:12 dannet0