Counting occurances outside the range of my report - count

In Crystal Reports XI I am writing a report that displays all companies that have been sent legal referals in the past week. I want to add a fiel to the report that can count how many times (if any) each company that has been refered this week has been refered in the past. I am not sure how to execute this since I need to use two different date parameters. One for the main report (1 week) and one for the past count (3 years).

Related

Programmatically parsing Google Analytics "What pages do your users visit?" day by day?

I am not a Google Analytics power user, but something tells me that if I wanted to parse out the "What pages do your users visit?" box:
It should be a lot easier to do it by individual day than manually clicking through "Today", "Yesterday", then selecting individual calendar dates using "Custom". Unfortunately, if I click on the "PAGES REPORT" option and select the date range I'd like to explore in full (e.g., previous year or more), I can't see on what days what page was visited because the results are all binned together per page visited per date range, with no indication of the specific individual days that it was visited:
Is there a programmatic way (e.g., using an API) to cleanly query and parse Google Analytics "What pages do your users visit?" results to obtain day-by-day info without needing to select today, yesterday, the day before, etc. manually by hand hundreds of times?
The only relevant post I could find on this was: Get a result for each day, instead of total in date range, with Google Analytics API (but it wasn't particularly helpful to me)
You have to select a date range and select Date as secondary dimension, so you can see pages visited in each day without doing it one day at a time.

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?"

Can you use Google Analytics API as Visitor Counter?

I mean like, count how many clicks the website since beginning and get their country location.
i already testing Google Analytics API but it requires to input date range, which i want from the beginning but no "Since beginning" or "All data" option available.
will set start date from year 2007 works? any suggestion?
will set start date from year 2007 work
Sure, why shouldn't it. The limit is the number of rows your query returns (10 000 per query. Number of row depends on the number of distinct values for the selected combination of dimensions) and the frequency with which you run your query, not the timeframe selected.
You can test this with the Query Explorer were you can run your metrics/dimension combinations without writing API code, so you can first check if you get the expected results.

Searching a range of events in a time graph

I'm trying to implement the graph from this blog post: http://blog.neo4j.org/2012/02/modeling-multilevel-index-in-neoj4.html
Inside the blogpost is a schematic of the graph and a query on how to find a range of events. However in my use case i don't have a set consecutive days. So for example the current state of the graph could be that i have day nodes from 12-7-2013 (12 july 2013) to 12-8-2013 (12 august 2013). Then when adding an event on 12-7-2014 i'm missing all the inbetween days for a whole year!
First problem is if i start to write queries that generate those days it might become very slow (application needs to be responsive). Second problem is i end up with days on which no event could be taken place, and so have unneeded data in my database.
So my question is: How can i get a range of events without using the NEXT relation between days?

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