I have a Sharepoint list of help calls and need to produce produce some stats for the the current and previous months calls
The calls have the following basic information (I have shown relevant fields only for simplicity)
I would like to show this in the following format
where
Created LM = Calls per category created last calendar month
Closed LM = Calls per category closed last calendar month
Created TM = Calls per category created this calendar month
Closed TM = Calls per category closed this calendar month
Open = number of calls per category still open (regardless of age)
I have created an XSL Dataview (in Sharepoint Designer) which shows the table in the right format grouped by category, but I am having trouble getting the view to create the values?
Ignoring the fact I am using sharepoint, how can this be achieved with XSL ?
Many Thanks in advance
The calls have the following basic information (I have shown relevant fields only for simplicity)
Code:
<CALLS>
<Help Call>
<ID>1</ID>
<Category>Hardware</Category>
<Created Date>2007-12-31</Created Date>
<Closed Date>2007-12-31</Closed Date>
<Status>Completed</Closed>
</Help Call>
<Help Call>
<ID>2</ID>
<Category>Hardware</Category>
<Created Date>2008-01-01</Created Date>
<Closed Date></Closed Date>
<Status>Open</Closed>
</Help Call>
<Help Call>
<ID>3</ID>
<Category>Software</Category>
<Created Date>2007-12-31</Created Date>
<Closed Date>2008-01-02</Closed Date>
<Status>Completed</Closed>
</Help Call>
<Help Call>
<ID>4</ID>
<Category>Software</Category>
<Created Date>2008-01-01</Created Date>
<Closed Date>2008-01-02</Closed Date>
<Status>Completed</Closed>
</Help Call>
</CALLS>
Code:
Category Created LM Closed LM Created TM Closed TM Open
Hardware 1 1 1 0 1
Software 1 0 1 2 0
Total 2 1 2 2 1
Created LM = Calls per category created last calendar month
Closed LM = Calls per category closed last calendar month
Created TM = Calls per category created this calendar month
Closed TM = Calls per category closed this calendar month
Open = number of calls per category still open (regardless of age)
I have created an XSL Dataview (in Sharepoint Designer) which shows the table in the right format grouped by category, but I am having trouble getting the view to create the values?
Ignoring the fact I am using sharepoint, how can this be achieved with XSL ?
Many Thanks in advance