Giter Site home page Giter Site logo

sgoley / directquery-for-odbc-in-powerbi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saiteja09/direct-query-for-rest-api-in-power-bi

13.0 3.0 9.0 23.23 MB

Direct Query for PostgreSQL via ODBC with SSL

License: MIT License

Objective-C 38.08% HTML 61.92%
powerbi odbc directquery

directquery-for-odbc-in-powerbi's Introduction

Direct-Query-for-ODBC-in-PowerBI

Direct Query for PostgreSQL (Handling for Data Type conversion in progress) via ODBC

This Custom Connector allows for Direct Query with PostgreSQL ODBC Datasources and contains the required TestConnector method as needed by the Microsoft Enterprise On-Premise Gateway.

Full write up and how-to incoming soon.

LinkedIn: https://www.linkedin.com/in/sgoley/

How to use this Repo: https://medium.com/just-readr-the-instructions

directquery-for-odbc-in-powerbi's People

Contributors

saiteja09 avatar sgoley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

directquery-for-odbc-in-powerbi's Issues

error when accessing timestamp without time zone

We are getting an error when accessing timestamp without time zone columns.

Some details:

September 2021
Product Version:
2.97.801.0 (21.09) (x64)
Error Message:
OLE DB or ODBC error: [Expression.Error] We couldn't fold the expression to the data source. Please try a simpler expression..
OS Version:
Microsoft Windows NT 10.0.19042.0 (x64 en-US)
CLR Version:
4.7 or later [Release Number = 528372]

It works nicely with other data types, including timestamp with time zone.
My guess would be there is a no defined conversion for timestamp without time zone type, while there is one for timestamp with time zone.

MySQL DQ Counln't load the data for this visual

Error: OLE DB or ORDBC error: [Expression.Error] We couldn't fold the expression to the data source. Please try a simpler expression.

I just tried to put columns on a table visual.

Any help?

Compatibility for MySQL

@sgoley

sure, thank you for your answer!!

Database: MySql Community Edition
ODBC Driver: MySql ODBC 8.0 Unicode Driver
DataType Field: Int
Visual: Table

Decsription: when i drag the int column it is ok (but it is sum aggregated by deafult), but when i check the "dont summerize" in power bi i get that error.

i cant see anything that is not aggregated.

Originally posted by @dr0rRvali in #1 (comment)

PostgreSQL Bug - new mashup engine breaks directquery connector

Tracking a new issue where Custom Connector works correctly with old reports (regardless of PowerBI application version) but not with newly created reports.

Reproduce steps:

  • Create an ODBC Data Source (64bit) as normal.
  • Add Custom Connector .mez file to Documents\Power BI Desktop\Custom Connectors as normal
  • Create new PowerBI Report
  • Create new blank query
  • Copy contents of M source language from old, working report into new query through advanced query.

let Source = ODBCPostgresDirect.Database("Retro SF PG"), account_salesforce_d8b832js2t307u = Source{[Item="account",Schema="salesforce",Catalog="d8b832js2t307u"]}[Data] in account_salesforce_d8b832js2t307u

  • Observe that preview correctly loads data for preview in Power Query Editor.
    image

  • Close and apply query changes.

  • Resulting bug:
    old pbix vs new pbix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.