12-19-2016 11:35 AM - edited 01-21-2024 9:57 PM
Hi experts,
Hi have an issue with epm 10.1 INSERT_MEMBER function. I have an inpute shcedule where users must to insert members in column axis. Is possible to disable this option for row axis? And is possible to disable this function for a report?
In oldest versions of BPC, EVDRE in the EXPAND RANGE has an option "INSERT" and you can control this function with this functionality.
It exists on 10.1 version?
Thanks,
Albert
There is no function in VBA like insertmembers
You have:
AddMemberToColumnAxis(sheet As Worksheet, reportId As String, memberName As String, dynamicRelation As Long)
AddMemberToRowAxis(sheet As Worksheet, reportId As String, memberName As String, dynamicRelation As Long)
But not sure that you will get exactly what you want
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With VBA you can add members to axis, but you will have to refresh report to see the new members.
Another VBA solution - to activate member recognition temporary:
Dim blnMemRec As Boolean
blnMemRec = epm.GetSheetOption(ActiveWorkbook.ActiveSheet, 2) 'save Member Recognition state
epm.SetSheetOption ActiveWorkbook.ActiveSheet, 2, True ' activate
ThisWorkbook.Worksheets("Sheet1").Range("A14").Value = 104 'add member to axis
epm.SetSheetOption ActiveWorkbook.ActiveSheet, 2, blnMemRec ' reset member recognition to saved state
Thanks Vadim and JP. It's very interesting both answers! Vadim, your answer is best for me, because I don't have the members in columns with member only selection. For this, with your methd I can "disable" this function for an axis. Great!
A last question about this: I know there is a vba function that can make this fuction (insertmembers), but with this code, you can't control what axis are you inserting the members. Exists some vba function that allows me to select what axis and for what report I'll insert the member?
Thank you very much! I think that your answers can help more people!
Albert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Albert,
We cannot disable the Insert Functionality but can restrict the users from inserting the members in Row. You have to first Add Members only to the dimension used in the column from "Edit Report" " Member Insertion Filtering". and Protect the Sheet with password. Then if the user tries to insert a member in the row then he will get a warning.....
Hope this helps...
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, possible:
In the report options in Inserted member filtering add member based on impossible filter 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think it's possible...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.