This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello community!
I recently implemented a custom connector based on ODBC to enable direct query mode.
Is there a way to provide a dialect to the connector that would tell PowerBI how to aggregate/run specific logic?
This is currently available in Tableau, and such ability could greatly help us.
Alternatively, how can I control/adjust the way PowerBI builds the queries when using different visualizations/widgets?
Solved! Go to Solution.
Hi @BL123456 ,
In Power BI, there isn’t a direct way to provide a dialect to a custom connector like you can in Tableau. However, Power BI provides several ways to aggregate or transform data.
Custom SQL Queries: You can write custom SQL queries in Power BI to control the data retrieval process. This can be done in the SQL Server Connector.
Tutorial: Connect to on-premises data in SQL Server - Power BI | Microsoft Learn
DAX Measures and Calculated Columns: Using Data Analysis Expressions (DAX), you can create custom measures and calculated columns to control how data is aggregated and displayed.
Measures in Power BI Desktop - Power BI | Microsoft Learn
Tutorial: Create calculated columns in Power BI Desktop - Power BI | Microsoft Learn
Query Folding: Ensure that your custom connector supports query folding. Query folding is the process where Power BI translates its internal queries into the native queries of the data source. This can help optimize performance and ensure that the logic is pushed down to the data source.
Query folding guidance in Power BI Desktop - Power BI | Microsoft Learn
Power Query M Language: You can use the M language in Power Query to transform and shape your data before it is loaded into Power BI. This allows you to apply specific logic and transformations at the data retrieval stage.
While these methods don’t provide a direct dialect feature like Tableau, they offer flexibility in controlling and customizing the data retrieval and visualization process in Power BI.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can anyone help with this?
Hi @Anonymous
Huge thanks for your reply!
Is there any other way I can adjust the way PowerBI converts a DAX query to my ODBC database query? Could you also add a few words or direct me to the right documentation/article explaining how the translation works behind the scenes?
Thank you for your help in advance
Hi @BL123456 ,
In Power BI, there isn’t a direct way to provide a dialect to a custom connector like you can in Tableau. However, Power BI provides several ways to aggregate or transform data.
Custom SQL Queries: You can write custom SQL queries in Power BI to control the data retrieval process. This can be done in the SQL Server Connector.
Tutorial: Connect to on-premises data in SQL Server - Power BI | Microsoft Learn
DAX Measures and Calculated Columns: Using Data Analysis Expressions (DAX), you can create custom measures and calculated columns to control how data is aggregated and displayed.
Measures in Power BI Desktop - Power BI | Microsoft Learn
Tutorial: Create calculated columns in Power BI Desktop - Power BI | Microsoft Learn
Query Folding: Ensure that your custom connector supports query folding. Query folding is the process where Power BI translates its internal queries into the native queries of the data source. This can help optimize performance and ensure that the logic is pushed down to the data source.
Query folding guidance in Power BI Desktop - Power BI | Microsoft Learn
Power Query M Language: You can use the M language in Power Query to transform and shape your data before it is loaded into Power BI. This allows you to apply specific logic and transformations at the data retrieval stage.
While these methods don’t provide a direct dialect feature like Tableau, they offer flexibility in controlling and customizing the data retrieval and visualization process in Power BI.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 27 | |
| 23 | |
| 18 |