Welcome to the Alteryx Knowledge Base
Created/Edited -
Using the Service Principal authentication method in the Power BI Output tool does not populate the drop-down in the Table Mapping section for existing datasets. It shows "No Results" instead.
Authentication Method
Table Mapping is not showing any tables for any existing file actions (Append, Overwrite (keep existing columns) and Overwrite (update columns))
- Alteryx Designer
- Version: All
- Power BI Output Tool
- Version: 3.4.0
- Authentication Method
- Service Principal
The Service Principal account, if used, is used during tool configuration from version 3.4.0 onwards. With this change, the API used to retrieve the tables for a push dataset does not work well. A defect (GCSE-3462/TPM-4721) has been logged to address this.
Please consider one of the following solutions until the issue is addressed:
Solution A: Use an earlier Power BI Output version than 3.4.0
If applicable, please consider using a version before Power BI Output version 3.4.0, such as 3.3.1.
Solution B: Manually configure the Table Mapping
Perform the following steps to manually add the table name(s):
- Perform the following steps if the XML View has not been enabled in Alteryx Designer.
For Alteryx Designer version < 2024.1
-
- In Alteryx Designer, go to Options > User Settings > Edit User Settings > Advanced tab.
- Select the Display XML in Properties Window and save the changes.
For Alteryx Designer version >= 2024.1
-
- In Alteryx Designer, go to Options > User Settings > Edit User Settings > General tab.
- Select the Display XML in Properties Window and save the changes.
- Configure the Power BI Output Tool as normal until the option for the Existing File Action in the Options has been selected.
- Click on the Power BI Output tool on the workflow and select XML View in the configuration window.
- Click the Edit link.
- Look for the Tables element and enter the name of the table in Power BI for the dataset after the colon (:). The "#1" is the name of the connection joining the upstream tool to the Power BI Output tool.
NOTE: The table names can be found in the dataset in Power BI.
Example
To find the names of the tables in the dataset, go to Power BI and drill into the dataset. You should see the tables in the dataset on the right.
Enter the table name in the XML View in the Designer as:
Here's an example of a Power BI Output tool having multiple connections and writing to different tables in a Power BI dataset. The way to obtain the table names is the same as explained above. The table names are separated by a comma in the Tables element.
- Click the OK button after modification.
IMPORTANT: The table name will not show in the drop-down list even after adding it manually. This is expected. However, the table name has been configured, and you should be able to run the workflow after this