on ‎2015 Sep 16 9:33 AM
Hi all,
I'm trying to trigger a macro when the user expand a node (double-click) in the hierarchy of the report. I thought that the event AFTER_EXPAND would have accomplished this scenario but the event isn't triggered.
This is the basic code:
Function AFTER_EXPAND()
Dim ps As New FPMXLClient.EPMAddInAutomation
ps.Refresh
AFTER_EXPAND = True
End Function
I can trigger the refresh event with BEFORE/AFTER_REFRESH.
Anyway my problem is this: I have created a local member with the function EPMRetrieveData and when I expand a node the function EPMRetrieveData for the just expanded members show #RFR:
and so I have to click on Refresh again which is pretty annoying. If I can put an auto-refresh in the macro after the user-triggered expand I can avoid the user-refresh.
Any suggestion ?
Thanks,
Michele
Request clarification before answering.
"I have created a local member with the function EPMRetrieveData" - do you think it's a good idea? The report will be slow...
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the requirement:
Basically I have a hierarchy on the account dimension and I have a property for the account which defines the type of the account (1 or 2). I have to create a report like the one in the image above: the problem is that the hierarchy and the property type are on the same dimension ACCOUNT and I have to put the hierarchy in the row dimension and on the column axis I should show the two types of the property and the totals of the nodes should be the total of the below base members filtered based on the column type.
So, as in the example, the amount on A2 account should be only in the column 2 and the Node 2 should display not the total of the 3 account (35) but 25 on column type 1 and 10 on column type 2.
Regards,
Michele
"I cannot create another dimension with the elements 1 and 2." - sorry, but this is the right way!
"I'm going to create two different hierarchy on the account dimension" - you will not be able to create report like you want: same node in different hierarchies is required to have the same children! You will have to use different nodes in different hierarchies...
Vadim
| User | Count |
|---|---|
| 40 | |
| 9 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.