Hi everybody,
I need some advice on something. I have a report that creates summaries based on the number of property transactions and the revenue generated from these transactions eg
[ul]
[li]Number of Instructions[/li]
[li]Number of Property Sales [/li]
[li]Number of Exchanges [/li]
[li]Total Revenue from Sales [/li]
[/ul]
[blue]The Underlying Data Structure[/blue]
I have a table which contains the PropertyID, Transaction Type, the Date the transaction occurred and finally Revenue.
PropertyID Type Date Revenue
-------- ----- ----- -------
1 Instruction 01/07/05 £0
1 Sale 11/07/05 £40k
2 Instruction 04/07/05 £0
2 Sale 06/07/05 £50k
2 Exchange 10/07/05 £50k
3 Instruction 01/06/05 £0
3 Sale 05/06/05 £19k
3 Exchange 14/07/05 £18k
I have created a report that takes a Date as a parameter and returns a set of summarised values for the whole week starting from the date. For example if the user enters 01/07/2005 the report will show Number of Instructions, Sales, Exchanges and Sales Revenue for the week ending 07/07/2005
[blue]The problem[/blue]
There is one additional calculation I would like to add to this report and that is Pipeline. The pipeline is the number of Sales Agreed that had not yet Exchanged on the final day of the week so in the above example that would be 07/07/2005.
For example: calculating the pipeline for 07/07/2005 would be a case of grabbing all the Properties that had a Sale Agreed before 07/07/2005 but which had not had an exchange before 07/07/2005
[blue]How I have tried to resolve this[/blue]
I have tried to write a formula to calculate the pipeline but with the current table structure I am not sure how to do this using Crystal.
I want to be able to calculate Pipeline without having to change the table structure as I want to use the same table structure to create OLAP cubes.
The only solution I can think of is to write a Stored Procedure that takes the date parameter field entered in Crystal as a parameter and then return the results.
Is this possible or is there a possible way to calculate the pipeline just using a regular formula?
Any advice much appreciated.
Nassy
I need some advice on something. I have a report that creates summaries based on the number of property transactions and the revenue generated from these transactions eg
[ul]
[li]Number of Instructions[/li]
[li]Number of Property Sales [/li]
[li]Number of Exchanges [/li]
[li]Total Revenue from Sales [/li]
[/ul]
[blue]The Underlying Data Structure[/blue]
I have a table which contains the PropertyID, Transaction Type, the Date the transaction occurred and finally Revenue.
PropertyID Type Date Revenue
-------- ----- ----- -------
1 Instruction 01/07/05 £0
1 Sale 11/07/05 £40k
2 Instruction 04/07/05 £0
2 Sale 06/07/05 £50k
2 Exchange 10/07/05 £50k
3 Instruction 01/06/05 £0
3 Sale 05/06/05 £19k
3 Exchange 14/07/05 £18k
I have created a report that takes a Date as a parameter and returns a set of summarised values for the whole week starting from the date. For example if the user enters 01/07/2005 the report will show Number of Instructions, Sales, Exchanges and Sales Revenue for the week ending 07/07/2005
[blue]The problem[/blue]
There is one additional calculation I would like to add to this report and that is Pipeline. The pipeline is the number of Sales Agreed that had not yet Exchanged on the final day of the week so in the above example that would be 07/07/2005.
For example: calculating the pipeline for 07/07/2005 would be a case of grabbing all the Properties that had a Sale Agreed before 07/07/2005 but which had not had an exchange before 07/07/2005
[blue]How I have tried to resolve this[/blue]
I have tried to write a formula to calculate the pipeline but with the current table structure I am not sure how to do this using Crystal.
I want to be able to calculate Pipeline without having to change the table structure as I want to use the same table structure to create OLAP cubes.
The only solution I can think of is to write a Stored Procedure that takes the date parameter field entered in Crystal as a parameter and then return the results.
Is this possible or is there a possible way to calculate the pipeline just using a regular formula?
Any advice much appreciated.
Nassy