Unable to get data of Present Month in Apache Superset - report

I am using Apache Superset for reporting purpose. I am want to draw a chart to show the graph for present Month. I used several ways but it is showing me the last day of the month. I used this method and other like start of this month It is showing me end of this month. Please show me the correct way to get the data of the current month.

After a rigorous research I found the answer. here it is
datetrunc(datetime("this month start"), month)

Related

Compare value at t and t-7days

To get some "visual alerting", I'd like to draw simultaneously two curves on the same graph in Grafana:
current time-window graph
same graph but with 7 days ago data
The idea is to be able to compare data evolution on the same day in the previous week.
I could not find a Graphite function for that (but I may have missed something in the doc).
Is there a way to do it?
You can use timeShift to make a metric in grafana with your series shifted back a week.
This kind of thing is also a good application for series-specific display overrides in grafana, so you can make the shifted series display differently from the current data.

Specifying time duration for query?

I want to create a dashboard that shows me how many clicks I had today vs how many clicks I had on the exact same day last week.
From the docs, the diffSeries function can subtract a series from another but how do I get the timeseries of previous week?
It's look like you need timeShift function.

Pentaho: Get System info - get previous month

As the title suggest, I would like to get the previous month using the given month from Get System Info. I used Get System Info step to get todays month and year, and from there I would like to get the previous month. This is so it would be dynamic and I can ran this any day and still get the correct filter rather than making a hard coded year and month. Is this possible? If so, how do I do that?
Here is how I did it. This is the overview
Here is the calculator:
And concatenate fields:
There is still a few loop hole on getting the previous month during January. But, that is how I did it.

Need daily totals via web app date range query

Newbie Question! I'm using the web api I'm able to get the entire totals over a date range, but I want the daily totals too! Sounds simple enough, but I can't get it. Trying
https://www.googleapis.com/analytics/v3/data/ga?ids=ga:AAAAAAA&start-date=2013-09-20&end-date=2013-09-30&metrics=ga:visitors,ga:visits,ga:bounces,ga:newVisits,ga:entrances,ga:pageviews,ga:uniquePageviews,ga:timeOnPage,ga:exits,ga:timeOnSite&query(start-date,end-date)&access_token=XXXXX
I can see in the console that I have data on more than one day during this range.
It appears you can add a "dimension" of ga:date (or week or year) that will return that granularity of detail to the queries.

Last Date of Next Month: SSRS

I have a date, for example, 12/14/2011.
I would like to get the last day of the next month, which would be 01/31/2012.
How can I achieve this in SSRS.
This has been answered at this link: https://stackoverflow.com/a/5539615/168703.
One of your datasets in reporting services should reference a common place for all date functions. And then you can use the date functions to set parameters.
I have highlighted step by step how to do this for reporting services with screen shots in that link.

Resources