How To Disable The Double Click Option For Drillthrough Action In Ssas Cube
I have requirement to create the DrillThrough Action in SSAS Cube. Along with we will give DrillThrough Actine in excel report for few program not for all. We have made the Action
Solution 1:
I believe you can disable this function by doing the following:
- Connect to Analysis Services Using SSMS & Browse to the Correct Database/Cube.
- Go to the user role(s)
- Select Cubes page
- Change Local Cube/Drillthrough Access to None
- Click OK.
Solution 2:
You can capture the double-click event and cancel the default action (in your case drillthrough tabs) before query took place in the macro of the excel workbook. Simply put the below events in the "ThisWorkbook" object:
PrivateSub Workbook_SheetBeforeDoubleClick(ByVal Sh AsObject, ByVal Target As Range, ByVal Cancel AsBoolean)
Cancel = TrueEndSubAll double-click events will be cancelled for the whole report, including any drillthrough tabs that would appear.
Post a Comment for "How To Disable The Double Click Option For Drillthrough Action In Ssas Cube"