I'm using gooddata-js API and I need some help to include 'where' condition into 'execution.getData' method. For example: I need compare a date month/year attribut like [/gdc/md/{PROJECT_ID}/obj/OBJ_ID] = [/gdc/md/{PROJECT_ID}/obj/OBJ_ID/elements?id=24235]
I tried use the condition below but didn't work!
sdk.execution.getData(projectId, elements,'[/gdc/md/{PROJECT_ID}/obj/OBJ_ID] = [/gdc/md/{PROJECT_ID}/obj/OBJ_ID/elements?id=24235]').then(function(dataResult){
var headers = dataResult.headers.map(function (h) {
return h.title;
});
var data1 = dataResult.rawData;
}'
I expect receive data into dataResult.headers, but the dataResult.rawData is empty.