on 06-19-2017 4:32 PM
I am getting an automation error when using AddMembertoRowAxis API in EPM 10. I'm wondering if there is an issue with my syntax. The very similar SetContextMember works without a hitch. The reportID is the same as found Report Name in Report Editor screen correct?
Sub add_member_row()
Dim epm As New EPMAddInAutomation
epm.AddMemberToRowAxis ActiveSheet, "003", "TIME:2017.JUN", 1
epm.RefreshActiveReport
End Sub
Sub change_context()
Dim epm As New EPMAddInAutomation
epm.SetContextMember epm.GetActiveConnection(ActiveSheet), "TIME",
"2017.JUN"
End Sub
"I am getting an automation error" - screenshot, please!
I have no issues with the same code with correct report...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.