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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
I'm trying to restrict the data coming into a dashboard by editing the SQL in the native query and adding a filter. This is reading from a view. When I run the SQL query in SSMS it runs fine, however when I add it to power bi it keeps coming back with "The key didn't match any rows in the table". This is on a completely blank power bi file.
The query isn't the one I'm using but an example of what it looks like (for security reasons)
Solved! Go to Solution.
It's ok I've fixed it. The query editor was malforming the code so I had to use the advanced editor to correct it.
Works now.
It's ok I've fixed it. The query editor was malforming the code so I had to use the advanced editor to correct it.
Works now.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 57 | |
| 44 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 113 | |
| 108 | |
| 38 | |
| 35 | |
| 26 |