Kizala response time in attendance card is not accurate when mark attendance - time-and-attendance

Kizala response time in attendance card is not showing accurate time with mark attendance.
For instance, when I mark attendance at time 11: AM, it shows in the report 9:07 AM.
Where can be the problem?

The time which you see in the Report is always in UTC.

Related

Microsoft Report Builder - Need to convert Charge Posted Period to previous month

I am new to Report Builder and do not have all of the fields that I usually would have. I have a report that the filter currently is set to Charge Posted Period = 7 and Charge Posted Period = 2021. I need to find a way to convert the Charge Posted Period to look to the last period/month so I can schedule the report to run. I have tried multiple queries and functions which did not work. enter image description here
Has anyone worked with this report builder and can guide me to correct this filter?
Note: The field Charge Posted Period is not a Date type field, I believe it is an aggregate type field.
I would make the query for the Period parameter to be based on the year selected. Then your drop-down would only contain periods in that year.
SELECT [Charge Posted Period] AS AVAILABLE_VALUES,
MAX([Charge Posted Period])OVER() AS DEFAULT_VALUES
FROM TABLE
WHERE [Charge Posted Year] = #ChargePostedYear

How to get total and current numbers of Google Workspace Business Starter licenses using customerUsageReports.get

Please tell me how to get total and current numbers of Google Workspace Business Starter licenses using customerUsageReports.get (https://developers.google.com/admin-sdk/reports/reference/rest/v1/customerUsageReports/get). When I request accounts:gsuite_unlimited_total_licenses or any kind of license (https://developers.google.com/admin-sdk/reports/v1/appendix/usage/customer/accounts) I always get an empty report.
You are a legend mate!
The reason you get no response is because usage report is huge and takes time to generate, therefor is about 2 days behind.
So simply, use the "date" parameter to be atleast 2 days back from the day you run the report.
GET https://admin.googleapis.com/admin/reports/v1/usage/dates/{date}
That would be the following format
Represents the date the usage occurred. The timestamp is in the ISO 8601 format, yyyy-mm-dd.
We recommend you use your account's time zone for this.
Reference : https://developers.google.com/admin-sdk/reports/reference/rest/v1/customerUsageReports/get

Google Forms createResponse with date decrements the day by 1

I am programmatically generating new form responses from rows of data in a Google Sheet (one approval workflow system generates new approval requests in a second approval workflow system). The data includes dates. My script takes the date value as a string from a cell, converts it into a native JavaScript date object, then submits this to a new form response using createResponse(). Here's the pertinent code:
var startDate = googleFormsDateStringToDate(eventDetails['Event Start Date']);
var r = item.createResponse(startDate);
For the most part, the system works robustly. Except for one intriguing problem - for any date after 29/04/2020, the date stored in the response is decremented by 1 day. Any date on or before this date works as expected, any date after is decremented by a day.
I have tried a few things.
The dates correspond to a start date and end date for an event. If the start date is before this date and the end date after, the end date will be decremented whilst the start date is recorded accurately. So I am certain the issue is directly related to whether the date I am submitting falls before or after this date.
I have tested extensively and am absolutely certain that the string-date conversion is working. If I retrieve the value of the response immediately after creating it (before the form response is even submitted), I find that it has been decremented:
var startDate = dateStringToDate(eventDetails['Event Start Date']);
Logger.log(startDate.toString()); // startDate is always accurate
var r = item.createResponse(startDate);
Logger.log(r.getResponse()); // if after 29/04/2020, will be decremented by 1 day
This tells me the issue is occurring precisely when I create the response and that it is occurring "at Google's end".
One of my suspicions is that it may be a timezone issue, but that would not explain why the issue is linked directly to this specific date. My other suspicion is that it may be to do with the fact that 2020 is a leap year, so we get 29/02/2020, and the date after which the error occurs is 29/03/2020. Perhaps somewhere behind Google's implementation of createResponse it is failing to account for the leap year?
Until I can identify the error, I plan to implement a workaround in which I will use getResponse() to check if the response date matches the intended date and correct accordingly. But I would prefer to understand what is causing the error (so I know if it is a bug requiring reporting, or simply my lack of understanding) and, if possible, find a solution.
So, specific questions: What is the source of the error? Is there a solution (rather than a workaround)?
EDIT
Whilst figuring out a workaround, I have answered my first question. In the UK, daylight savings time starts on 29/04/2020. Since the dates entered via the Google Form have no time associated with them, the time appears to be stored as 00:00:00, or midnight. I assume that what is happening is that the adjustment for daylight savings time (1 hour) is subtracting an hour from this time, thereby rolling it back to the day before.
My final question stands: is there a means to reliably prevent this error from occurring rather than manually checking for inaccurate dates (or programming in daylight savings time dates)?

Display the difference between 2 columns where multiple columns associated from dynamic matrix in ssrs 2008 r2

enter image description hereI have to show the data in the report just like above .. i need to get the difference of Medicaid 2017 value and Medicaid 2016 in Med diffrence
commercial 2017 value and commercial 2016 in commercial difference column... note that 2016 & 2017 are dynamic values as year changes these will change..any pointers would really help? please see the attached images data & matrix
Appreciate your response.
Thank you!!!! enter image description here
Each row is going to be grouped by the salesperson so the only thing we need to detect for our calculation is the year.
=SUM(IIF(Fields!Year.Value = "2016"), Fields!Medicaid.Value, 0)) - SUM(IIF(Fields!Year.Value = "2017"), Fields!Medicaid.Value, 0))
What this does is run the sum function through the dataset (with group filter). In sum we can nest the IIF logic to detect what the year field is in the dataset. If it is the year we are looking for, we return the value of the data (in this case the medicaid value). The end result is the sum of all values matching the date. Then we subtract that by the next year and there is your difference.
I know you want to keep this dynamic. You'll have to test your own solutions since I'm not sure how you will handle this in your data. Assuming at the very next year this will flip to current year and previous year, instead of hard coded year you would use:
Now().Year and Now().addYears(-1).Year
I think all this code should work but I did not test. You might have to confirm those VBNet DateTime functions. Just tried to get you an answer on my lunch break!

Using SSRS Data Driven Subscription as a Data Driven Schedule

I'd like to have a data driven "schedule", meaning every report has it's unique time (stored in a table which is populated every minute) when it needs to go out.
For example: (not all fields included)
To Parameter Format NextRunDate ReportStatus
bob[at]email.com SalesRegion1 Email 1/1/2012 9:00:00 'Unprocessed'
joe[at]email.com SalesRegion2 Email 1/1/2012 9:05:00 'Unprocessed'
sara[at]email.com SalesRegion1 Email 1/1/2012 8:55:00 'Processed'
if the time is currently 1/1/2012 9:01:00 my Data Driven Subscription "where statement" would be something like...
where NextRunDate < GETDATE() -- in the past
and ReportStatus = 'Unprocessed' -- <--here is my problem
This query is run every minute. It should only pull the report for bob[at]email.com...
My problem is here:
I need to add logic that toggles the Report Status and 'Processed' once the report is sent... otherwise it runs every report every time...
Thoughts? Other ways to get this to work?
Running SQL Server 2k8 Enterprise
Thanks in advance!
If the reports are run on a similar cycle (every minute or every five minutes as in your code) you could use BETWEEN and DATEADD to subtract the number of minutes (whatever) to get to the last time you ran the report through to now.
{WHERE NextRunDate BETWEEN DATEADD(mi, -5, GETDATE()) AND GETDATE()}
I hope that helps.