I'm trying to get a count of specific message type with a specific entry and thought I could build the query in Message Viewer but this does not provide counts (as far as I am aware). So when I take the SQL from 'Show Query' it omits the segment criteria as the code shows below.
I have attached the criteria that has been excluded. Is this possible?
Thank you
SELECT head.ID AS ID,
{fn RIGHT(%EXTERNAL(head.TimeCreated),12)} AS TimeCreated,
head.SessionId AS SESSION,
head.Status AS Status,
COUNT (*) AS messages,
CASE head.

.png)





