→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Null
Engaged Sweeper II
I would like help with creating a report that shows:

All new tickets opened in the previous calendar day (Example, if I ran the report Thursday, it would show me all Wednesdays tickets)

The Agent the ticket is assigned to

Which user it concerns (Who requested help/is needing help)

Ticket Subject

And Ticket Description

I would appreciate any help with this.
2 REPLIES 2
poweld1
Champion Sweeper
I copied and pasted this but am getting this error message, any idea?

Invalid SELECT statement. Unexpected token " Inner" at line 12, pos 1.: Unexpected token " Inner" at line 12, column 1
Niko0
Engaged Sweeper III
Select Top 1000000 htblticket.date As [Date Created],
htblusers1.name As Agent,
htblusers.name As Requester,
htblticket.subject As Subject,
htblnotes.note As Description
From htblticket
Inner Join htblnotes On htblticket.ticketid = htblnotes.ticketid
Inner Join htblusers On htblusers.userid = htblticket.fromuserid
Inner Join htblticketstates On htblticketstates.ticketstateid =
htblticket.ticketstateid
Inner Join htblagents On htblagents.agentid = htblticket.agentid
Inner Join htblusers htblusers1 On htblusers1.userid = htblagents.userid And
htblusers.userid = htblnotes.userid
Where htblticket.date > GetDate() - 1

Reports & Analytics

Ask about reports you're interested in and share reports you've created. Subscribe to receive daily updates of reports shared in the Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now