Quantcast
Channel: SQL Server Reporting Services, Power View 포럼
Viewing all articles
Browse latest Browse all 24955

SSRS 2005 Matrix question

$
0
0

Hi,

I have a query that runs against Oracle database and it returns a similar resultset:

----------------------------------------------------------------------------------------------------------------------------------------
FLOW_MONTH FLOW_DATE       DEAL#       PORTFOLIO   PURCHASE_SALE    AMOUNT_CAND   
---------- ------------------------- ------------- -------------------- ------------- ------------- 
FEB-2013   18-FEB-13                 106809        AMA                  PURCHASE         746,351.11 
FEB-2013   18-FEB-13                 106810        AMA                  PURCHASE         101,212.40 
FEB-2013   19-FEB-13                 106869        AMA                  PURCHASE         510,202.37 
FEB-2013   19-FEB-13                 106871        AMA                  PURCHASE         146,562.98 
FEB-2013   18-FEB-13                 106802        AMA                  SALE              25,176.23 
FEB-2013   18-FEB-13                 106811        AMA                  SALE             101,212.40 
FEB-2013   18-FEB-13                 106812        AMA                  SALE             746,351.11 
APR-2013   30-APR-13                 105683        Forward Cap Rel      SALE              88,628.40 
APR-2013   30-APR-13                 105687        Forward Cap Rel      SALE              87,837.00  
AUG-2013   31-AUG-13                 105683        Forward Cap Rel      SALE              91,582.68 
AUG-2013   31-AUG-13                 105687        Forward Cap Rel      SALE              90,764.90 
AUG-2013   31-AUG-13                 105922        Forward Cap Rel      SALE             137,369.68 
JUL-2013   31-JUL-13                 105683        Forward Cap Rel      SALE              91,582.68 
JUL-2013   31-JUL-13                 105687        Forward Cap Rel      SALE              90,764.90 
DEC-2012   04-DEC-12                 104161        NOVA                 SALE              11,250.00 
DEC-2012   21-DEC-12                 105232        T North              PURCHASE           4,517.25 

How do I design a report to show something like this (sample data different from above) in SSRS2005 with matrix?

Portfolio Total Purchases  Total Sales  Total Net Dec-2012 Purchases Dec-2012 Sales Dec-2012  Net  Feb-2013 Purchases  Feb-2013 Sales   Feb-2013  Net 
 
AMA $       1,489,620.18 $       1,533,059.70 $              43,439.52 $                           -   $                               -   $                         -   $                          -   $                          -   $                          -  
Forward OSS Com $                            -   $       1,814,251.14 $        1,814,251.14 $                           -   $                               -   $                         -   $                          -   $                          -   $                          -  
NOVA $                            -   $          543,000.00 $            543,000.00 $                           -   $                               -   $                         -   $                          -   $        273,000.00 $        273,000.00
T North $       3,045,536.18 $       3,078,961.87 $              33,425.69 $                           -   $                               -   $                         -   $        573,950.00 $        573,950.00 $                          -  
 $    27,268,096.00 $    51,470,241.07 $      24,202,145.07 $      1,008,881.34 $                               -   $  (1,008,881.34) $    8,908,349.00 $  15,625,285.44 $    6,716,936.44

Net = Sales - Purchase

Thanks

Regards,

Peter


Viewing all articles
Browse latest Browse all 24955

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>