Sending Charts to Power BI

When a GainSeeker chart is open, you can easily send its data to My workspace in the Microsoft Power BI service for customized analysis. This functionality is not available for Dashboards.

 

Contents  [Hide]

 

Before you begin

Before you can send charts to Power BI, your IT staff must set up a GainSeeker application in Azure Active Directory.

When finished, they should provide you with the following information:

Also, Power BI limits how many columns GainSeeker can include in the resulting dataset. You should evaluate your GainSeeker data to make sure that the columns you need will be included in the dataset.

Set up your Power BI Account details

Perform this step once per GainSeeker workstation. If desired, you can configure GainSeeker for multiple Power BI Accounts.

  1. Create any GainSeeker chart: choose SPC or DMS/OEE data, for one or more standards or processes, and any chart type - graphical charts, lists, tables, etc.

  2. Right-click on that chart (or click the File menu), point to Send to, and then click Power BI. (You must have permission for Send To >> Printer Or Editor to see this menu option.)

    This displays the Power BI window:

  3. In the Power BI Account area, click Add.

  4. On the Power BI Account window:

    1. Enter the App Client ID provided by your administrator.

    2. For the Username, enter your network login (email address). This must be the same address you use to log in to Power BI.

    3. Choose the sign-in method (multi-factor authentication or log in with password / single sign-on) provided by your administrator.

      If you choose multi-factor authentication, you will be prompted for your Microsoft login credentials once per GainSeeker Charts session (unless your computer is already logged in to the Power BI service).

      If you choose log in with password, enter your Power BI Password here as well. GainSeeker will remember this password (encrypted) for sending data to Power BI and not prompt you for it again.

      If you don’t know which to use, try the password option first.

    4. When finished, click OK.

  5. To test your Power BI Account settings, click the Existing button on the Power BI window.

Sending data to Power BI

  1. Create a GainSeeker chart of the data you want to send (up to 10,000 records). This works for SPC and DMS/OEE data, for one or more standards or processes, and for all chart types - graphical charts, lists, tables, etc.

    This retrieves the data that you will send to Power BI.

  2. Right-click on that chart (or click the File menu), point to Send to, and then click Power BI. (You must have permission for Send To >> Printer Or Editor to see this menu option.)

    This displays the Power BI window:

  3. Select the Power BI Account where you want to send the data (if you have more than one).

    If the Power BI Account list is empty, you need to set up your Power BI Account details before continuing.

  4. Select the Power BI Dataset where you want to send the data.

  5. If the specified Dataset already exists, choose whether to delete its data before adding the new data to it.

  6. Click OK to send the chart's data to one dataset in My workspace on the Microsoft Power BI service. If prompted for your Microsoft login credentials, enter them to log in to the Power BI service.

    See below for important limitations on what data can actually be sent.

Data limitations

Because Power BI limits how many columns and rows GainSeeker can include in the dataset, the following restrictions are applied.

Maximum number of columns

Because GainSeeker can only send up to 75 columns to the dataset, GainSeeker sends the 75 most commonly-used data columns.

SPC data columns

For SPC data, these columns are:

Column

Details

PARTNO

Name of the SPC standard.

DATETIME

Date/time stamp in 16-digit GainSeeker format - 4-digit year, 2-digit month, 2-digit day, 2-digit hour, 2-digit minute, 2-digit second, 2-digit hundredths of second.

0-48 traceability fields

Fields where Display traceability label is cleared are not included..

DATA1 - DATA16

The first 16 measurements in the subgroup.

Unused fields are left blank (for subgroup sizes < 16 and missing data values in the subgroup).

If you have GainSeeker standards with subgroup sizes > 16, this means that some measurements will not be included in the dataset. If you need to send all measurements to the dataset, you may be able to use an external data Python script that splits each row into subgroups of 1 with a unique value in each new subgroup (date/time stamp, traceability value, etc.).

XBar

X-Bar calculated from all GainSeeker measurements in the subgroup (including subgroup values 17-72 that cannot be sent to Power BI).

Range

Range calculated from all GainSeeker measurements in the subgroup (including subgroup values 17-72 that cannot be sent to Power BI).

MRange

Moving Range calculated from all GainSeeker measurements in the subgroup (including subgroup values 17-72 that cannot be sent to Power BI).

Sigma

Sigma calculated from all GainSeeker measurements in the subgroup (including subgroup values 17-72 that cannot be sent to Power BI).

RTF

Integer that represents one or more real-time failure codes.

EVENT

Long description.

CAUSE

Long description.

ACTION TAKEN

Long description.

Note

 

DMS/OEE data columns

For DMS/OEE data, these columns are:

Column

Details

PARTNO

Name of the DMS/OEE part number.

PROCESS

Name of the DMS/OEE process.

DATETIME

Date/time stamp in 16-digit GainSeeker format - 4-digit year, 2-digit month, 2-digit day, 2-digit hour, 2-digit minute, 2-digit second, 2-digit hundredths of second.

0-40 traceability fields

The first 40 traceability fields that can be displayed in all GainSeeker modules. (Fields where Display traceability label is cleared are not included.)

If GainSeeker is configured to display 41-48 traceability fields and you need to display a field that is not in the first 40, you can use a copy of your current configuration to hide one of the first 40 traceability fields. Use that same copy of the configuration to retrieve and send the data to Power BI.

DEFECT1 - DEFECT12

The first 12 defect names (DEFECT1, etc.) and their corresponding defect counts (DEFECTCNT1, etc.) for the row. Unused defect columns are blank and their corresponding defect counts are 0.

GainSeeker always stores the defect name with the highest count as DEFECT1, the second-highest count as DEFECT2, etc.

One row of GainSeeker data can have up to 20 defect names, so if you have data rows with more than 12 defect names, this means that the defects with the lowest counts will not be included in the dataset. If you need to send all defects to the dataset, you can use an external data Python script that splits each row with more than 12 defect names into two rows of 12 or fewer defect names, with a unique value in each row (date/time stamp, traceability value, etc.).

DEFECTCNT1 - DEFECTCNT12

SUMDEFECTS

Total number of defects (including defects 13-20 that cannot be sent to Power BI).

SSIZE

Sample size (total number of units inspected).

SampleCost

Total cost of all units inspected.

NumberGood

Number of good units inspected.

NCU

Number of nonconforming units inspected.

NCUCOST

Total cost of nonconforming units inspected.

EVENT

Long description.

Note

 

Maximum number of rows

Because GainSeeker can only send up to 10,000 rows at a time, you can use the following steps to include more data in the dataset:

  1. Use a date period, filter, or chart generation for a data group to limit the initial chart to 10,000 rows or less. (If creating an SPC chart, set the Maximum count for retrieval greater than 10,000 to ensure that data is only limited by these other features.)

  2. Send that data to Power BI.

  3. On that initial chart, change the chart settings for date period or filter - or generate a new chart for the next data group - to limit the next group of data to 10,000 rows or less.

  4. Send that data to Power BI using the same Dataset name and choosing Add data to existing data.

  5. Repeat steps 3 and 4 until all of the desired data has been added to the dataset.