Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
MA1
Contributor III
Contributor III

rest conector and date

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.

1 Reply
Anil_Babu_Samineni

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

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful