Forum Discussion
Elage37
3 years agoFrequent Visitor
CLR type
Hello I have a problem with the display of time type data. This is an OLE DB connection to an HFSQL database (windev). The error message I get when I try to view the data on power query is " 'We do n...
- 3 years ago
Most connectors for SQL style databases allow you to specify a "native query" when you create the connection.
For SQL Server the field is "SQL Statement".
Alternatively you can implement your SQL logic in a view at the data source, and then in Power BI you can consume the view as if it were a table.
lbendlin
3 years agoSuper User
Show your current code (sanitized)
Elage37
3 years agoFrequent Visitor
let
Source = OleDb.DataSource("provider=PCSoft.HFSQL;initial catalog=IBP_DATA;data source=192.168.50.22"),
IBP_DATA_Database = Source{[Name="IBP_DATA",Kind="Database"]}[Data],
POINTAGE_Table = IBP_DATA_Database{[Name="POINTAGE",Kind="Table"]}[Data]
in
POINTAGE_Table
- lbendlin3 years agoSuper User
In the connection settings you can already specify a custom query.