on 2015 Aug 13 8:41 AM
Hi Experts,
Is there any nice way to filter the report based on LocalMember?
Thanks.
Regards,
Request clarification before answering.
Hi Pheno,
Can you elaborate your requirement ?
Thanks
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use Excel to filter on those results post refresh with a macro, but the EPM doesn't have a local member filtering.
here is example code that will automatically execute after a refresh:
SUB AFTER_REFRESH()
'This macro executes after every refresh by default
'insert code to apply or reset excel filter
END SUB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
While I agree with Vadim you should not transform EPM results, hiding a row is lower risk though should be extensively tested prior to wide usage. Here is the code I would leverage:
Sub AFTER_REFRESH()
For Each Cell in Range("A1:A99") 'range of local member may vary if report expands
If (cell.value = 999) Then 'or some condition there of
Cell.EntireRow.Hidden = False 'if condition is met show row
Else
Cell.EntireRow.Hidden = True 'if condition is not met hide row
End If
Next Cell
End Sub
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 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.