Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Store daily expresion results into QVD file

Hello,

My current database doesn't store the amount of open incidents on daily base. I would like to store this information in a qvd file.

Currently i have a straight table wich displays the amount of open tickets.

Calculated dimension = if(TICKETSTATUS_title ='Open', 'Open tickets:')

Expression = count(TICKET_fullname)

I would like to store this like:

Table name= Opentickets

Field 1= date

Filed 2= opentickets

If any more information is needed, let me know.

Thanks, regards, Harry

1 Solution

Accepted Solutions
Gysbert_Wassenaar

You'll have to create a summary table with that information in the script:

Summary:

LOAD

      today() as date,

     count(TICKET_fullname) as opentickets

FROM ...

WHERE match(TICKETSTATUS_title , 'Open','Open tickets')

Concatenate Summary:

LOAD * FROM MyQVD.qvd (qvd);

STORE Summary INTO MyQVD.qvd (qvd);


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

You'll have to create a summary table with that information in the script:

Summary:

LOAD

      today() as date,

     count(TICKET_fullname) as opentickets

FROM ...

WHERE match(TICKETSTATUS_title , 'Open','Open tickets')

Concatenate Summary:

LOAD * FROM MyQVD.qvd (qvd);

STORE Summary INTO MyQVD.qvd (qvd);


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks for the help! i got it working!

Regards,

Harry