Skip to main content
Version: 10.3

Generating Power BI Data Source

Open iT can extract the Core Server database into CSV files to be able to load it in Power BI.

Activating Power BI Data Source Generation

These are the required steps to activate Power BI data source generation.

  1. Open a command prompt with Administrator level privileges.

  2. Go to the bin directory, which is by default in C:\Program Files\OpeniT\Core\bin, run the command:

    Command Syntax
    cd <bin_dir>
    Example
    cd C:\Program Files\OpeniT\Core\bin
  3. Once in the directory, activate the data source generation to run daily, run the command:

    Command Syntax
    openit_yamlinit coreserver update asset process_powerbi:general.active=true
  4. Open the Task Manager.

5 Under the Services, restart the OpeniTCoreServerPipeline service.

Verifying Power BI Data Source Generation

After configuration, you can verify that the Power BI data source is generated by following these steps:

  1. Verify that there is a folder named powerbi present in your defined <data_dir> (commonly located in Windows: C:\ProgramData\OpeniT\Data\database or Unix: /opt/openit_data/database)upon Open iT server installation, containing the folders of the configured data types.

  2. Access the Data Processing GUI by navigating:

    • With Ingress: https://<ingress-uri>/dagster-webserver or use the link in the navigation menu.

      Data Processing GUI Link

      Data Processing GUI Link

    • Without Ingress: http://localhost:27910/dagster-webserver

  3. In the left navigation pane, click Lineage.

  4. Expand the downstream item from the list of groups.

  5. Right-click process_powerbi, select Materialize.

    Data Processing GUI PowerBI

    Data Processing GUI PowerBI

  6. Verify the output inside the data type directories (e.g., <data_dir>\powerbi\94) with the format year-month-date.csv. There should also be a cache file per data type.

    The output files are fixed to a daily resolution, and the delimiter is always colon.

note

The implementation of caching guarantees that no date per data type will be processed more than once. However, this does not guarantee data stability if the server machine shuts down while the tool is running.

To ensure data reliability in such cases, delete the cache file and output file in each data type on the date the server machine shuts down, then restart the server, making sure that the scheduler is active.

The caching implementation not only checks for the cache file, but also for the existence of output files starting from the date as calculated by the value of the POWERBI_CUTOFF_AGE directive.

Next Step?