In my interview i get a question schedule report how I get the data of previous mounth data in this month and next month they must get - report

In my interview i get a question that In scheduling report how I get the data of previous mounth data in this month and next month they must get

Related

Clockify Saved Reports for Half Month

Is there anyway to save reports in Clockify for a half-month period (i.e. 1-15th of the month and 16th-end)? We pay twice monthly and ideally can save off a report that can be used for a half month period.
UPDATE
Choosing a 15 day range 1st-15th and then scrolling does not work as Clockfy maintains the range size (15 days) rather than the concept of half month.
UPDATE2
Perhaps the question can better be phrased as: "does Clockify have any sort of semantic period of time for 'half-month' (aka semimonthly) that will be maintained when advancing time periods?"

Hour, day, week and month subtotals with Firebase database

I've been thinking about how I can store counts of big nodes in my database and be able to compare those counts;
for example:
today vs the same day of past week
This month vs last month
This hour vs this hour yesterday
This hour vs this hour last week on the same day
So I came up with this:
The problem is: nested nested nested.
I do not want to get the whole data if I need only the year data.
My question: What would be the right structure for my use case?
You can keep YYYY, YYYY_MM, YYYY_MM_DD and YYYY_MM_DD_HH formatted nodes. That would be less expensive to retrieve data.

Google Analytics scheduled email reports w/ year over year data

I've have Analytics set to send a weekly email with the previous 7 days worth of data and the previous years data for comparison. Unfortunately I can only get the previous periods data. I am able to get it to send out a single email with year over year, but all scheduled emails come with the previous periods data.
Has anyone come across this?

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.

Week number and ISO 8601 for Pageview counters

I need to store page view for specific products by week, day and year. I thought about using the following tables:
Weekly
List item
id
product_id
week_number
year
total_page_views (counter)
Daily
product_id
total_page_views
[for the day I won't keep archive data and yearly will be calculated based on the weekly table]
My question is actually about the week numerical value. I am wondering which week number I should use, I've read that ISO 8601 is one option and using .NET DataTime function to get the week is another one. I need your help to know which one should I use and whether there is a better way to optimize the table.
At the end, I want to show the top viewed products for the previous week, this week, previous year, etc.
I target my app towards the US and Europe crowd, where the week start at Monday. I'm developing my application in C#/ASP.NET/MySQL/Entity Framework. THANKS.

Resources