1

次の SQL に基づいて PerformancePoint レポートの MDX クエリを作成する必要があります。ポインタ?

SELECT count(*), sum(balance) FROM SerialBalance b  
WHERE  balance > 0 
AND EffectiveDate = (   Select  Max(EffectiveDate) 
            From    SerialBalance sb 
            Where   SB.Subhead  = b.Subhead
            and SB.SerialNumber = b.SerialNumber 
            and SB.Branch   = b.Branch 
            and SB.Zone     = b.Zone
            and SB.Country  = b.Country
            and SB.EffectiveDate <= '2013-05-31'
            )   
4

0 に答える 0