Configure BI Pixie Desktop
BI Pixie Desktop (bi-pixie.exe) reads its settings from two files in the folder of your reports. You decide what Pixies track, where they sit on the page, and which reports the tool reads, by changing these files in a text editor and running the tool again.
BI Pixie Desktop is the new name of BI Pixie Instrumentation. The file is still named bi-pixie.exe. Version 3.1.2 and earlier end a run with the log line “BI Pixie Instrumentation is completed”. Later versions end it with “BI Pixie Desktop has finished”. The default commit message is still “BI Pixie instrumentation”.
This article describes every setting of version 3.1.2 of BI Pixie Desktop, with the value the tool writes when it creates the file.
Prerequisites
- BI Pixie Desktop has run once on the folder of your reports and created the settings files. See Create the settings files.
- The required settings are filled in. See Fill in the settings.
- A text editor, such as Notepad or Visual Studio Code.
Change a setting
- Open
bi_pixie_config.jsonin the folder of your reports in a text editor. - Find the setting in the tables below and change its value. Keep the quotation marks around text, and write
true,falseand numbers without them. - Save the file.
- Run the tool again on the folder:
bi-pixie.exe "C:\Reports\Finance"
Settings that hold a group of settings, such as filter_actions, are written between braces. Change the values inside the braces and keep the names:
"filter_actions": {
"track_filter_actions": true,
"include_filtered_values": false
} Keep every setting in the file and change only its value. If you remove a setting, the tool uses a built-in value, which is not always the value in the tables below.
Settings for the run
The required settings, project_name, subscription_email, license_key, pixies_flow_endpoint_url and pixies_inventory_flow_url, are described in Fill in the settings. These settings control the rest of the run.
| Setting | What it does | Value in a new file |
|---|---|---|
clean_only | When true, the run removes Pixies from the reports instead of adding them. See Remove Pixies. | false |
starter_deployment | false for the Azure deployment, or true for the Power Platform deployment. See Fill in the settings. | true |
use_report_folder_as_project | When true, the name of the folder that holds each report is sent as its project, in place of project_name. Setting enable_workspace_context in fabric_settings to true turns it on. | false |
allow_report_level_overrides | When true, the tool reads the settings for each report in bi_pixie_config_details.json. See Change the settings of one report. | false |
company_ca_certificate_path | The path to your organization's certificate file, when your network inspects secure connections. See When the license check stops the run. | "" |
tracking_setup | Not in a new file. Add it to choose whose tracking setup the run uses: "local" for the settings in this file, or "account" for the tracking setup saved in your BI Pixie account. Any other value stops the run before it changes a report. See Which license keys work. | Not written. The tool uses "local". |
pixies_inventory_endpoint_url | Optional, for the Azure deployment from version 1.7.0 of the deployment template. The address of your deployment's send_inventory function, with its own function key. When it is filled in, the tool sends its list of reports there, with whether each report tracks link clicks, and from then on BI Pixie opens links only from the reports that BI Pixie Desktop last added Pixies to with link tracking on. Before you fill it in, read Limit links to the reports that track them. | "" |
log_folder | Not in a new file. Add it to keep the logs of each run in a folder you choose. A relative path is read from the folder of bi_pixie_config.json. See Read the log files. | Not written. The tool uses %LOCALAPPDATA%\BI Pixie\logs. |
Choose what Pixies track
| Setting | What it does | Value in a new file |
|---|---|---|
include_user | When true, Pixies send the user principal name of the person who views the report, which is usually an email address. | false |
include_custom_data | When true, Pixies send the custom data your application passes to an embedded report. When include_user is also true, Pixies send the user principal name whenever the custom data is empty. Your license must include custom data. | false |
include_page_name | When false, Pixies send Page 1, Page 2 and so on in place of the names of the pages. | true |
track_bookmarks | When true, Pixies record the bookmarks people select. | true |
add_redirects_in_measures | When true, Pixies record the links people select in measures that return a URL. See Allowed link destinations. | true |
add_redirects_in_columns | When true, Pixies record the links people select in columns that hold a URL. | true |
add_redirects_in_conditional_formatting | When true, Pixies record the links people select in conditional formatting that sets a web URL. | true |
add_redirects_in_actions | When true, Pixies record the links people open with the web URL action of a button. | true |
track_visual_interaction_details | When true, Pixies record which data points people select in each visual, for the visual clicks heatmap. Your license must include the visual clicks heatmap. | false |
track_visual_interaction_max_fields | The largest number of fields recorded for each selection in a visual, for the visual clicks heatmap. | 3 |
Choose which filters Pixies record
These settings sit inside filter_actions. If your license does not include filter values, Pixies send neither the column names nor the selected values, whatever these settings say.
| Setting | What it does | Value in a new file |
|---|---|---|
track_filter_actions | When true, Pixies record the filters people use. The other settings in this group apply only when it is true. | true |
track_slicers | When true, Pixies record slicer selections. | true |
track_drillthrough_filters | When true, Pixies record the filters that a drillthrough passes to its target page. | true |
track_tooltip_filters | When true, Pixies record the filters that a report page tooltip receives. | true |
include_column_names | When true, Pixies send the table and column of each filter. | true |
include_filtered_values | When true, Pixies send the values people select. Selected values can hold personal or confidential data, such as customer names. | false |
filtered_values_max_characters | The longest selected value Pixies send. A longer value is cut to this number of characters. | 20 |
track_rls | When true, Pixies record which row-level security roles of the semantic model apply to the person who views the report. Your license must include security tracking. | false |
Take reports from Git
These settings sit inside git_settings. For the steps, see Add Pixies with Git.
| Setting | What it does | Value in a new file |
|---|---|---|
git_enabled | When true, the tool takes the reports from a Git repository rather than from the folder alone. | false |
git_url | The address of the repository, in Azure DevOps or GitHub. | A placeholder in square brackets |
git_username | Your Git username or GitHub account name. | A placeholder in square brackets |
git_password_or_key | Your Git password or GitHub personal access token. | A placeholder in square brackets |
git_commit_changes | When true, the tool commits the reports with Pixies and pushes them to the repository. | false |
git_commit_message | The message of that commit. | "BI Pixie instrumentation" |
git_sync_changes_to_workspaces | When true, the tool also updates the Fabric workspaces connected to the repository. | false |
Take reports from Fabric workspaces
These settings sit inside fabric_settings. For the steps, see Add Pixies with the Fabric API.
| Setting | What it does | Value in a new file |
|---|---|---|
enable_workspace_context | When true, the tool connects each report to its Fabric workspace. Every other setting in this group applies only when it is true, and it also turns on use_report_folder_as_project. | false |
auto_mapping_folders_to_workspaces | When true, each subfolder of reports is matched to the workspace with the same name. When false, the tool uses manual_mapping and does not list your workspaces, so include_all_workspaces and the workspace lists have no effect. | true |
manual_mapping | A list of subfolders and their workspaces, each with subfolder_name, workspace_name and workspace_id. | One empty entry |
read_capacities | When true, the tool records the capacity of each workspace. The Azure deployment only. | false |
load_items_using_fabric_api | When true, the tool downloads the reports from the workspaces into the folder before it adds Pixies. | false |
save_items_using_fabric_api | When true, the tool publishes the reports with Pixies back to their workspaces. | false |
include_all_workspaces | When true, the tool reads every workspace where you are an Admin, Member or Contributor, except those in exclude_workspace_ids. When false, it reads only the workspaces in include_workspace_ids. | true |
exclude_workspace_ids | The IDs of workspaces to skip. | [] |
include_workspace_ids | The IDs of the only workspaces to read. | [] |
include_all_reports | When true, the tool reads every report in those workspaces, except those in exclude_report_ids. When false, it reads only the reports in include_report_ids, so an empty list leaves no report to change. | true |
exclude_report_ids | The IDs of reports to skip. | [] |
include_report_ids | The IDs of the only reports to read. | [] |
enable_deployment_pipelines | When true, the tool records your deployment pipelines, so that BI Pixie can relate a report to its copies in other stages. The Azure deployment only. | true |
include_deployment_pipeline_ids | The IDs of the only deployment pipelines to record. An empty list records all of them. | [] |
Collect feedback
These settings sit inside collect_feedback. For examples, see Collect user feedback.
| Setting | What it does | Value in a new file |
|---|---|---|
collect_feedback_enabled | When true, the tool adds a feedback control to the reports. Your license must include user feedback. | false |
collect_feedback_in_all_pages | When true, the control is a slicer on every page. When false, it is a bookmark navigator on one page. | true |
collect_feedback_in_page | The number of the page that gets the bookmark navigator. | 1 |
use_icons_thumbs_up_down | When true, the control shows thumbs up and thumbs down. | true |
use_icons_smile_frown | When true, the control shows a smiling and a frowning face. | false |
use_icons_other | The three icons the control shows when both settings above are false: icon_positive, icon_neutral and icon_negative. | Three face emoji |
hide_neutral_icon | When true, the control offers only the positive and negative icons. | true |
tooltip_label | The text people see when they point at the control. | "Is this report helpful?" |
feedback_selector_visual_name | The name of the control in the Selection pane. | "BI Pixie Feedback Selector" |
bookmark_group | The name of the bookmark group that holds the feedback bookmarks. | "Feedback selector" |
optimize_bookmark_navigators | When true, the tool groups the bookmarks of the report that are in no group, so that the bookmark navigator shows only the feedback bookmarks. | false |
unassigned_bookmarks_group_name | The name of the group for those bookmarks. | "Grouped Bookmarks" |
Add a survey
These settings sit inside collect_survey_feedback. Each question holds enabled, the question text and a list of answers. Each answer is a pair of the text people see and the number BI Pixie records, such as ["1-5 hours", 1]. For examples, see Add embedded surveys to your reports.
| Setting | What it does | Value in a new file |
|---|---|---|
survey_enabled | When true, the tool adds a survey page to the reports. | false |
include_button_to_survey | When true, the feedback control carries a button that opens the survey page. It needs survey_enabled, collect_feedback_enabled and collect_feedback_in_all_pages set to true. | false |
include_button_to_survey_label | The text of that button. | "Share feedback" |
survey_page_title | The title of the survey page. | "Share Feedback" |
survey_page_description | The text under the title. | A sentence that thanks the reader |
survey_page_instructions | The text that explains how to answer. | A sentence that explains the slicers |
survey_progress_gauge_title | The title of the gauge that shows how much of the survey is answered. | "% Completed" |
survey_thank_you_title | The text people see when they finish. | "Thank you for the feedback!" |
use_email | The answers that let people choose whether their email address is sent with the survey. | Two answers |
nps_question | The 0 to 10 recommendation question: enabled and question. | On |
issues_question | The question about problems in the report: enabled, question and answers. | On, six answers |
time_save_question | The question about the hours the report saves each month. | On, five answers |
decision_making_question | The question about the report's effect on decisions. | On, five answers |
financial_benefit_question | The question about the report's monthly financial benefit. | On, seven answers |
Choose where Pixies go
| Setting | What it does | Value in a new file |
|---|---|---|
always_write_measures_in_report | When true, the tool writes Pixie measures into the report. When false, they go into the semantic model, unless the report has a live connection to a semantic model elsewhere. | false |
pixies_table | The table that holds Pixie measures in the report. Leave it empty to let the tool choose. | "" |
pixies_folder | The display folder of Pixie measures, and the name of the Pixie group in the Selection pane. | "{BI Pixie}" |
show_pixels_for_debug_purposes | When true, Pixies are visible on the page, so that you can check where they are. Set it back to false before you publish the report. | false |
pixel_x | The distance of Pixies from the left edge of the page. -1 places them at the right edge. | -1 |
pixel_y | The distance of Pixies from the top edge of the page. -1 places them at the bottom edge. | 0 |
pixel_width | The width of each Pixie. | 1 |
pixel_height | The height of each Pixie. | 1 |
pixel_z | Has no effect. The tool places Pixies in the same layer on every page. | 0 |
Change the settings of one report
bi_pixie_config_details.json holds an entry for each report the tool found in the folder, named by report_name. Each entry repeats the tracking, filter, feedback, survey and placement settings, so that one report can differ from the rest.
- In
bi_pixie_config.json, setallow_report_level_overridestotrue. - Open
bi_pixie_config_details.jsonand find the entry whosereport_nameis the report you want to change. - Change the settings in that entry. A setting in the entry replaces the same setting in
bi_pixie_config.jsonfor that report. - Save the file and run the tool again on the folder.
The filter_actions group of each entry also holds two lists of tables and columns:
detected_tables_and_columnslists the tables and columns the tool found in the report's filters. The tool writes it on each run.apply_on_specific_tables_and_columnslists tables and columns whose filters Pixies record on every page, written as a table name followed by a list of its columns. It is empty in a new file.
"apply_on_specific_tables_and_columns": {
"Customer": ["Region", "Segment"]
} In bi_pixie_config_details.json, include_filtered_values is true for every report, while it is false in bi_pixie_config.json. When you set allow_report_level_overrides to true, Pixies send the values people select in every report, unless you set it to false in each entry.
Considerations and limitations
- With
tracking_setupset to"account", the tracking options come from your BI Pixie account. The license, project, event address, Git, Fabric, certificate, log,starter_deployment,use_report_folder_as_projectandclean_onlysettings still come frombi_pixie_config.json. - Some settings need your license to include the feature: custom data, filter values, security tracking, the visual clicks heatmap and user feedback. When it does not, the run leaves that feature out. Without the Business Outcome feature, the workspace capacity, description and type are not sent.
- The Power Platform deployment does not record capacities or deployment pipelines.
- The file holds your license key and, with Git, your Git password or token. Keep it out of shared folders and source control.
- The settings take effect on the next run. Reports that already have Pixies keep their old settings until you run the tool on them again.