Answers for "how to implement an sql database into powerBI"

SQL
0

how to connect .sql data set to powerbi

import pandas as pd	
import pyodbc 
conn = pyodbc.connect('Driver={SQL Server};'
                     'Server=servername;'
                     'Database=databasename;'
                     'Trusted_Connection=yes;')
cur= conn.cursor()
sqlquery = pd.read_sql_query('SELECT * FROM tablename',conn)
print(sqlquery)
Posted by: Guest on November-24-2020

Code answers related to "how to implement an sql database into powerBI"

Code answers related to "SQL"

Browse Popular Code Answers by Language