0
votes

Is there a way to access the results of a snowflake query in PowerBI directly or would I need to insert the results into a table.

4
Why not create a View in Snowflake?NickW

4 Answers

0
votes

I dont have snowflake to test, but in powerbi you have under database datasource "snowflake".

enter image description here

0
votes

Best option would be create view on the snowflake results query and use the view in PowerBI either in ImportMode or DirectQuery.

0
votes

You define a View using a Select statement: https://docs.snowflake.com/en/sql-reference/sql/create-view.html

CREATE [ OR REPLACE ] [ SECURE ] [ RECURSIVE ] VIEW [ IF NOT EXISTS ] [ ( <column_list> ) ] [ COPY GRANTS ] [ COMMENT = '<string_literal>' ] AS <select_statement>

-1
votes

@jagadish: materialized views also similar to database tables ( it will occupy space)

Check temporary tables and give a try.