Forum Discussion
chelsweigandt
6 years agoRegular Visitor
SQL Statement Translation to Power Query
I have this SQL query that has two statements in it. The first statement is straight forward but then it's separated by an OR to the second statement that has an AND statement in it. I can't figure o...
- 6 years ago
Hi chelsweigandt ,
If you want to do the steps in Query Editor after getting the data, you can follow this:
https://powerbi.microsoft.com/en-us/blog/pull-data-from-sql-server-with-power-bi-designer/
I would appreciate Kudos if my response was helpful. I would also appreciate it if you would Mark this As a Solution if it solved the problem. Thanks!
Greg_Deckler
Community Champion
6 years agochelsweigandt - Can you not just used the Advanced mode of the SQL connector to just paste in your SQL code?
chelsweigandt
6 years agoRegular Visitor
- collinq6 years ago
Super User
Hi chelsweigandt ,
If you want to do the steps in Query Editor after getting the data, you can follow this:
https://powerbi.microsoft.com/en-us/blog/pull-data-from-sql-server-with-power-bi-designer/
I would appreciate Kudos if my response was helpful. I would also appreciate it if you would Mark this As a Solution if it solved the problem. Thanks!
- chelsweigandt6 years agoRegular Visitor
collinq That worked! Thanks so much! I had to take out the last bit of the SQL statement (order by i.BINLOCATION, i.SKU) but once I did that it, it worked perfectly. Thanks so much