Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I'm embedding a report that's connected to an Azure SQL Database. Is there a way to programmatically change the initial SQL statement? Specifically, I'd like to change the WHERE clause to reference a specific username.
Hi @ats1958,
I don't think there is a way to programmatically change the initial SQL statement of a data source currently. You can add it as an idea on Power BI Ideas forum to improve Power BI on this feature. ![]()
Regards
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |