Configure Power BI lineage mapping
Create a YAML file to map data sources for lineage harvesting.
Before you begin
Role required: admin
About this task
This is an optional task for harvesting lineage information. Create a YAML file and pass it using the Datasource name mapping file option when running the collector.
Set up a YAML file in the following scenarios:
| Scenario | Details | Action |
|---|---|---|
| ODBC Connections in Power BI | You have a data source in Power BI that uses an ODBC connection. In these instances, Power BI doesn’t provide the host or database type of the source | In the YAML file, map the DSN to a specific database host and type. If the database name is missing in the Power BI data source, add the defaultDatabaseName option to the data source in the YAML file |
| Multiple Server Name Aliases | You have multiple server names (aliases) for the same database instance (host) and the database collector uses a different alias than the one defined in the Power BI connection | Use the YAML file to map the database host to user-specified aliases |
| Custom SQL Statements | Custom SQL statements are used in Power BI table source definitions. The Power BI collector currently supports connecting to the following database types to resolve lineage from SQL statements: Snowflake, SQL Server, PostgreSQL, Redshift, Oracle, Databricks, Denodo, BigQuery. Lineage resolution for table sources using SQL statements only supports SQL consisting of a single SELECT statement | Configure databases specified in custom SQL statements by including datasourceKey, host, and secure credentials using environment variables |
Note:
You can use environment variables in the file for sensitive information such as passwords.