Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Good day
Is it possbile to write a SQL query in PowerBI?
Example
SELECT name, surname, date
FROM table
WHERE name = 'BOB' AND date > '2019-01-24'
AND date in
(SELECT MAX(DATE)
FROM table)
ORDER BY name;
Solved! Go to Solution.
If you select advanced options when setting up a SQL data source, you get a box to enter the SQL Query in the "Statement" box.
More info here: https://support.microsoft.com/en-us/office/import-data-from-a-database-using-native-database-query-p...
If you select advanced options when setting up a SQL data source, you get a box to enter the SQL Query in the "Statement" box.
More info here: https://support.microsoft.com/en-us/office/import-data-from-a-database-using-native-database-query-p...
I don't want to use PowerBI dax, I want to use SQL query it self
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 47 | |
| 36 | |
| 27 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 38 | |
| 21 | |
| 21 |