# 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_oconfinit -u "transfer_misc_files.root.scheduler.jobs.transfer_misc_files.general.active=true"
  1. Go to the bin directory, which is by default in /opt/openit/bin, run the command:

    Command Syntax
    cd $BIN_DIR
    Example
    cd /opt/openit/bin
  2. Once in the directory, activate the data source generation to run daily, run the command:

    Command Syntax
    ./openit_oconfinit -u "transfer_misc_files.root.scheduler.jobs.transfer_misc_files.general.active=true"

# Verifying Power BI Data Source Generation

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

  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. Run the command:

    Command Syntax
     openit_executor -r process_powerbi
  4. Verify that there is a folder named powerbi present in $DATA_DIR, which is by default in C:\ProgramData\OpeniT\Data\database, containing the folders of the configured data types.

    The output inside the data type directories are in 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.

  1. Go to the bin directory, which is by default in /opt/openit/bin, run the command:

    Command Syntax
     cd $BIN_DIR
    Example
     cd /opt/openit/bin
  2. Run the command:

    Command Syntax
     ./openit_executor -r process_powerbi
  3. Verify that there is a folder named powerbi present in your defined $DATA_DIR upon Open iT server installation, containing the folders of the configured data types.

    The output inside the data type directories are in 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.

# Next Step?

   Configuring Power BI Cut-off Age and Data Types

We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close