Skip to main content

Transpose a Pivot Table Plugin

Comments

37 comments

  • Alex Schittko

    It looks like this doesn't work in SiSense for Linux 8.2.1
    error initializing widget extension - Error: prism.transposePivot is not a function

    0
  • Miguel Filho

    Any updates ?

    0
  • Vlad Cimpan

    Still not working in 8.2.5.

    Is this plugin dead or can we get an update or some support for it?

    Are there any other ways to do what this does?

    2
  • Jessica Orlando

    There needs to be a way to do this!

    1
  • John Lusk

    So... I have a blecherous hack that might fix this (seems to in our environment running 8.2.5). I debugged in Chrome and saw that there's a variable 'ngModule' that has a _invokeQueue property (from errors in the browser console), so... I just tried replacing 'app' with 'ngModule' in the services/wrapperService.js file.

    Patch file follows:

    --- /cygdrive/s/JLusk-S/Sisense/transposePivot_19December2018/transposePivot/services/wrapperService.js 2021-02-12 13:20:14.185651300 -0500
    +++ "/cygdrive/t/Program Files/Sisense/app/plugins/transposePivot/services/wrapperService.js"   2021-02-12 15:18:28.289490200 -0500
    @@ -12,8 +12,8 @@
                 }
     
                 var module = SisenseModuleManager.getModule(moduleName);
    -
    -            var controllerModel = module.app._invokeQueue
    +// debugger; // Lusk, transposePivot, 2021-02-12
    +            var controllerModel = module.ngModule._invokeQueue
                     .find(function (invokeModel) {
                         var providerName = invokeModel[0];
                         var args = invokeModel[2];
    @@ -34,8 +34,8 @@
                 var serviceName = parts.slice(2).join('.');
     
                 var module = SisenseModuleManager.getModule(moduleName);
    -
    -            var serviceModel = module.app._invokeQueue
    +// debugger; // Lusk, transposePivot, 2021-02-12
    +            var serviceModel = module.ngModule._invokeQueue
                     .find(function (invokeModel) {
                         var providerName = invokeModel[0];
                         var args = invokeModel[2];
    0
  • Mike van Thiel

    We're also running an 8.2.5 environment and implemented the hack fix suggested by John Lusk. It  resolved this error with the plugin:

    However, the plugin still does not transpose even a simple pivot table (only one grouping in the rows, and nothing in the columns) and we're getting this warning: 

    Has anyone experienced something similar and somehow resolved this?

    0
  • John Lusk

    Looks a bit like the plugin isn't even defined. You DID re-enable it, right? Not getting dev/test/prod environments mixed up? :)

    (Otherwise, I have no idea, sorry.)

    0

Please sign in to leave a comment.