How to create a conditional measure in SQL Server 2008 Analysis services
        Posted  
        
            by Jonathan
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jonathan
        
        
        
        Published on 2010-05-12T06:50:12Z
        Indexed on 
            2010/05/12
            6:54 UTC
        
        
        Read the original article
        Hit count: 275
        
Hi there
I am not sure if the title has the correct terms, I have a developer and am very new to cubes.
I have a cube which has data associated to materials that are broken down into chemical compounds.
For example a rock material has 10% of this chemical and 10% of that chemical, etc. Samples are taken daily and sample is a dimension with date, etc.
So, the measure needs to average by the sample dimension but needs to sum across the chemical compound dimension (To add up to 100% for example).
Is this at all possible?
© Stack Overflow or respective owner