Forum Discussion
Amazon redshift SQL query to power bi dataflow
Hi Andrew_na_lang ,
You can use Redshift as a source directly on your dataflow, but it does not allow you to enter a custom query.
Connect to an Amazon Redshift database in Power BI Desktop - Power BI | Microsoft Docs
If you are looking to run a custom redshift query, you can use the ODBC connector. You will first need to download the relevant redshift driver on your machine, and then create a sytem DSN. You will then be able to access this dsn by the odbc connector in PowerBI.
Step-by-step instructions are available here :
Configuring an ODBC connection - Amazon Redshift
To use this source on your dataflow, you will have to first setup this ODBC source on your refresh gateway as a new source and then add it to your dataflow.
Connect to data sources for dataflows - Power Query | Microsoft Docs
More details about the ODBC connector can be found here :
Power Query ODBC connector - Power Query | Microsoft Docs
Kind regards,
Rohit
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂
- Andrew_na_lang4 years agoHelper V
Thank you rohit_singh. I shall try it and mark your reply as the solution after. Have a blessed day!