
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Google Analytics Connector Data query from URI dynamic date
Hi,
I have load script which has been pulled from GoogleAnalyticsConnectorV3_DataFromQueryURI:
LOAD
....
....
...
FROM [http://localhost:.......................start-date%3d2012-03-01%26end-date%3d2014-04-04](qvx);
My client is asking me to use today's date in place of end-date%3d2014-04-04. Because every time client doesn't want to go to the google API to get Query URI.
How I can make it dynamically??
Thanks,


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have an example of this in our demo QVSource application:
QVSource/QVSource-Google-Analytics-Starter-App-For-QlikView-V2 · GitHub
Basically you can use something like this:
let vToday = Date(timestamp(now(1)));
let vTodayString = date(vToday, 'YYYY-MM-DD');
LOAD
....
....
...
FROM [http://localhost:.......................start-date%3d2012-03-01%26end-date%3d$(vTodayString)](qvx);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Did you any one come across the scenario.
Thanks,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
