Skip to Main Content
Jedox Ideas

Let us know how we can make Jedox even better!

Status Future Consideration
Workspace Jedox Platform
Categories In-Memory DB
Created by Guest
Created on Feb 21, 2024

Drill-through from a Jedox cube if no data in a PostgreSQL database

If I configure persisted drill-through in a cube, and in a report select Drill-through, then Jedox shows detailed data from PostgreSQL database. This is great in case of Actual data with detailed information.

But in the same time the budget version has data only in Jedox cube, and Drill-through in this case does not show anything.

It is necessary to have an option to switch datasource of Drill-through between a cube and PostgreSQL. It could be done automatically - if no data in PostgreSQL then it looks in a cube.

  • ADMIN RESPONSE
    Feb 23, 2024

    Thank you for your great idea. While we cannot commit to a specific target version, we will consider adding it to our future internal backlog. If you can add further information about the context of this feature, please add it here so we can evaluate it more fully. 

  • Guest
    Reply
    |
    Nov 5, 2024

    Hello,

    To do so, in svs script, I added this code after ($ret = $this->DrillThroughETLRest($database, $cubename, $arg, $sid, $area);)

    // if error message starts with "No Drillthrough defined" make Cube-Drillthrough

    if (strpos($ret, 'No Drillthrough defined') === 0 || strpos($ret, 'no result') === 0) {

    $ret = $this->DrillThroughCube($database, $cubename, $callerConnection, $dimListNonVirtual, $area, $drillDownArea);

    }

    ---

    (this is custom script and it has not been reviewed by jedox)

    ---

    public function OnDrillThroughExt($database, $cubename, $mode, $arg, $sid) { // string

    // sep_log("<< USING SAMPLE SCRIPT PLEASE ADJUST TO MATCH YOUR CONFIGURATION >>");

    sep_log("<< OnDrillThrough database: $database cube: $cubename >>");

    $callerConnection = palo_init(_JEDOX["OLAP_HOST"], _JEDOX["OLAP_PORT"], $sid);

    $dimListNonVirtual = palo_cube_list_dimensions($callerConnection, $database, $cubename);

    $useVD = false;

    $drillDownArea = array_fill(0, count($dimListNonVirtual), null);

    $area = $this->DrillThroughGetArea($database, $cubename, $callerConnection, $dimListNonVirtual, $arg, $useVD, $drillDownArea);

    $ret = $this->DrillThroughETLRest($database, $cubename, $arg, $sid, $area);

    // if error message starts with "No Drillthrough defined" make Cube-Drillthrough

    sep_log($ret);

    if (strpos($ret, 'No Drillthrough defined') === 0 || strpos($ret, 'no result') === 0) {

    $ret = $this->DrillThroughCube($database, $cubename, $callerConnection, $dimListNonVirtual, $area, $drillDownArea);

    }

    palo_disconnect($callerConnection);

    return $ret;

    }

24 MERGED

Drill Through with more sources

Merged
At the moment drill through works only with one database. Filling a cube from different sources with the need of different drill through information is not possible. It would be nice to use different databases as source for drill through.
over 5 years ago in Jedox Platform / Integrator 3 Future Consideration