Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Caluculated Measure shows #VALUE! at total and Grand total in the cube browser pane

$
0
0

Hi

Below is my Calc Measure. when I browse in the cube pane shows  the total as #VALUE!  (as shown below result) Please let me know what could be the reason for this behaviour in the cube browser

(IIF(    [Sales Product].[Product Lines].currentmember.parent.name = 'Undefined'    
,0    
,SUM            
(                    
    NONEMPTY                    
        (                            
            (                                
            FILTER                                
            (                                         
            {
            [Sales Product].[Product Lines].currentmember
            , [Sales Product].[Product Lines].currentmember.siblings} AS SiblingsWithSelf                
            ,(                                               
            NOT( SiblingsWithSelf.CURRENT IS SiblingsWithSelf.ITEM(0) )                    
            AND StrToValue(SiblingsWithSelf.CURRENT.PROPERTIES("Rank Within Product Line")
            ) < StrToValue( SiblingsWithSelf.ITEM(0).PROPERTIES("Rank Within Product Line"))                    
                )                                    
                ) as ProductsWithLowerRank                            
                ) *[Measures].[Current Distinct Site Count]
            )    
        )
    )    
)
   

Productline                DataBases                                            Count

Academic SearchACADEMIC SEARCH  PREMIER5754
Academic Search Complete39029
Academic Search Elite285
Academic Search Research & Development191
Total#VALUE!
America: History & LifeAmerica: History & Life with Full Text1213
Total#VALUE!
Applied Science & TechnologyApplied Science & Technology Abstracts (H.W. Wilson)42
Applied Science & Technology Full Text (H.W. Wilson)2751
Total#VALUE!













Thanks in advance

Prometh



Viewing all articles
Browse latest Browse all 14337

Trending Articles



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