Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9190

Re: How to sum entity using property

$
0
0

For futher test to be clearer :

 

My formula :

 

sum(FILTER(descendants([ENTITY].CurrentMember,
[ENTITY].properties("ENT_TYP")="MAGASIN"),measures.periodic),solve_order=15

 

 

I get :

- [ENTITY].[#VIEW_MAG]: Parser: The end of the input was reached.

 

Or :

 

SUM(DESCENDANTS([ENTITY].[H1].CURRENTMEMBER.properties("ENT_TYP")="MAGASIN"),LEAVES)

 

 

  - [ENTITY].[#VIEW_MAG]:
CustomRollupFormula([Entity].[Entity_ID6].[VIEW_MAG]) (1, 17) The ENT_TYP dimension attribute was not found.

 

 

 

 

 

 

IIF([ENTITY].[H1].CURRENTMEMBER.PROPERTIES("CALC")="Y",sum(descendants([ENTITY].CurrentMember,[ENTITY].[H1].[ENTITY].PROPERTIES("ENT_TYP")
="MAGASIN"),LEAVES))

 

 

  - [ENTITY].[#VIEW_MAG]:
CustomRollupFormula([Entity].[Entity_ID6].[VIEW_MAG]) (1, 1) Too few arguments
were passed to the IIF function.
The minimum argument count for the function is 3.

 

 

 

 

 

IIF([ENTITY].[H1].CURRENTMEMBER.PROPERTIES("CALC")="Y",SUM(Descendants([ENTITY].CurrentMember,[ENTITY].[H1].[ENTITY].PROPERTIES("ENT_TYP")
="MAGASIN"),LEAVES)

 

 

  - [ENTITY].[#VIEW_MAG]: Parser: The end of the input was reached.

 

 

Any help ?

 

Tks,


Viewing all articles
Browse latest Browse all 9190

Trending Articles



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