on 10-06-2014 3:12 PM
Hi Ignacio,
Please describe the dimensions you want to use in row axis!
Continent, Country, City - what is this?
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not exclude, local member:
Sample for level 5:
=IF(EPMMemberProperty(, EPMMemberID(EPMDIM_CURRENT_MEMBER(YourDIMName)),"HLEVEL")="5",EPMMemberDesc(EPMMemberID(EPMDIM_CURRENT_MEMBER(YourDIMName))),"")
Same for other required levels!
Vadim
Message was edited by: Vadim Kalinin - property name corrected to HLEVEL!
Please, read in help about local members creation!
This formula have to be inserted in the Edit Report -> Local Members
With replace of YourDIMName by your row axis dimension name.
Attach the first local meber to column axis (before), second and third attach to first and second local members respectively.
Vadim
Local member formula for Continent local member (parent of parent of current City):
=EPMMemberDesc(EPMMemberProperty(;"[YourDIMName].[PARENTH1].["&EPMMemberProperty(;EPMMemberID(EPMDIM_CURRENT_MEMBER(YourDIMName)));"PARENTH1")&"]";"PARENTH1"))
Local member formula for Country local member (parent of City):
=EPMMemberDesc(EPMMemberProperty(;EPMMemberID(EPMDIM_CURRENT_MEMBER(YourDIMName));"PARENTH1"))
Local member for City local member - just description:
=EPMMemberDesc(EPMMemberID(EPMDIM_CURRENT_MEMBER(YourDIMName)))
Vadim
Hi Vadim,
doesn't work for me.
Let me give you more info:
I've done a dimension override for the PLACE dimension for a specific property.
This property is only informed for the City members, so I only see the City members.
How can I see the fathers of each City (country, continent) in different columns?
Sorry for not giving all the info before.
When I try: EPMMemberDesc(EPMMemberProperty(;E12;"PARENTH1"))
And: EPMMemberDesc(EPMMemberProperty(;(EPMMemberProperty(;E12;"PARENTH1"));"PARENTH1"))
It Works perfectly, just that I need it as a local member.
Your code should just work the same as mine. To where should I connect the local member?
Note: E12 is the first City member returned.
Please, read!!! help about local members creation!!!!
You have to press Edit Report, select Local Members tab and create a new local member.
Attach the first local member to column axis (before), second and third attach to first and second local members respectively.
If your dimension is PLACE ("," has to be used in local member formulas independent of regional settings!):
=EPMMemberDesc(EPMMemberProperty(,"[PLACE].[PARENTH1].["&EPMMemberProperty(,EPMMemberID(EPMDIM_CURRENT_MEMBER(PLACE))),"PARENTH1")&"]","PARENTH1"))
=EPMMemberDesc(EPMMemberProperty(,EPMMemberID(EPMDIM_CURRENT_MEMBER(PLACE)),"PARENTH1"))
=EPMMemberDesc(EPMMemberID(EPMDIM_CURRENT_MEMBER(PLACE)))
Vadim
Thank you for your time Vadim, the basic problem was that I didn't know that comas should be used in local member formulas independantly of regional settings.
Just in case someone uses this formulas, the first one has an extra ")".
One last question about the format, is there a way to group all the countries/continents that are the same? In other words, now I have "Europe" repeated in 10 consecutive lines, is there a way to merge them in 1 unique "Europe".
Thanks a lot,
J.I.
ups, I edited my last post while you were answering me..
One last question about the format, is there a way to group all the countries/continents that are the same? In other words, now I have "Europe" repeated in 10 consecutive lines, is there a way to merge them in 1 unique "Europe"?
Thanks a lot,
J.I.
Something like this (for Country):
You create 2 local members:
First (to show Full List - this column will be hidden later):
=EPMMemberDesc(EPMMemberProperty(,EPMMemberID(EPMDIM_CURRENT_MEMBER(PLACE)),"PARENTH1"))
Let's assume it will be in column B starting with row 8
Second:
=IF(EPMMemberDesc(EPMMemberProperty(,EPMMemberID(EPMDIM_CURRENT_MEMBER(PLACE)),"PARENTH1"))=B7,"",EPMMemberDesc(EPMMemberProperty(,EPMMemberID(EPMDIM_CURRENT_MEMBER(PLACE)),"PARENTH1")))
It will be in column C. Look on B7 comparison in the formula.
Result in column C - only unique names will be shown.
Vadim
P.S. - No macro! Just complex formulas and 2 additional hidden columns!
Message was edited by: Vadim Kalinin - P.S. added
You receive #NoData in country column and subtotal row?
You can test the row axis cell for empty and in this case put "Total" in the country column! Just include extra condition in member formula:
=IF(EPMDIM_CURRENT_MEMBER(PLACE)="","Total",(then existing formula))
Vadim
If answer is helpful - mark it helpful
Ups, some correction:
Sorting & Grouping (by PARENTH1):
And test for "Test":
=IF(EPMDIM_CURRENT_MEMBER(INACCT)="Test","Total",IF(EPMMemberDesc(EPMMemberProperty(,EPMMemberID(EPMDIM_CURRENT_MEMBER(INACCT)),"PARENTH1"))=B7,"",EPMMemberDesc(EPMMemberProperty(,EPMMemberID(EPMDIM_CURRENT_MEMBER(INACCT)),"PARENTH1"))))
Vadim
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.