Billable Time/Time worked Portal Reports ?
Is there any way to get a portal dashboard like query? The end goal is to report per support group their time worked for example: Weekly report that shows week's time totals for each analyst on a specific support group.
Any help will be more than appreciated.
Best Answer
-
Adam_Dzyacky Product Owner Contributor Monkey ✭✭✭✭✭Yes, you'll need to define a few variables to get this to run directly inside of SSMS and those are the @StartDate, @EndDate, and @analyst where @analyst is the AD Username/SamAccountName of the analyst you want to query against.
As an example, here's what needs to be at the beginning that you should be able to see how you can modify -DECLARE @StartDate datetime, @EndDate datetime, @analyst nvarchar(4000) SET @StartDate = '01-01-2017'; SET @EndDate = '05-19-2017'; SET @analyst = 'usernameHere'
If you drop the original query into Report Builder without the above block, it should dynamically just create the parameters so they can be defined when you run the report.
6
Answers
https://community.cireson.com/discussion/466/scsm-dw-query-billable-time#latest
Is there any specific way to run this one? I ran it against the DWDataMart. Is there any variables I need to update? This is specifically for Incidents.
As an example, here's what needs to be at the beginning that you should be able to see how you can modify -
If you drop the original query into Report Builder without the above block, it should dynamically just create the parameters so they can be defined when you run the report.
Report Builder prompts me to enter some parameters which is fine and I enter them like this:
But then when it runs, I get this. What am I doing wrong here?: