Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I use the rest connector in qlikview and I want to load only 1 month
it is field "moment" - format 2014-01-09 11:38:00
RestConnectorMasterTable:
SQL SELECT
"__KEY_root",
(SELECT
"id" AS "id_u0",
"accountId",
"shared",
"version",
"updated",
"name" AS "name_u1",
"externalCode",
"moment",
"applicable",
"sum",
"created",
"vatEnabled",
"vatIncluded",
"vatSum",
"payedSum",
"__KEY_rows",
"__FK_rows"
FROM "rows" PK "__KEY_rows" FK "__FK_rows")
FROM JSON (wrap on) "root" PK "__KEY_root"
;
Thanks.
May be this?
Load * where moment = 'monthname';
RestConnectorMasterTable:
SQL SELECT
"__KEY_root",
(SELECT
"id" AS "id_u0",
"accountId",
"shared",
"version",
"updated",
"name" AS "name_u1",
"externalCode",
"moment",
"applicable",
"sum",
"created",
"vatEnabled",
"vatIncluded",
"vatSum",
"payedSum",
"__KEY_rows",
"__FK_rows"
FROM "rows" PK "__KEY_rows" FK "__FK_rows")
FROM JSON (wrap on) "root" PK "__KEY_root"
;
Make sure, the month name should be calculated like
Month(moment) as Month_moment