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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello everyone! Good morning!
I would like to know how to use the IN followed by SELECT in the Power Query of Power Bi using ODBC.
I created this table in the data base to facilitate my ID's update in Power BI because my file exceeds 1gb and it takes a long time to read the entire query and have to update again.
When I try to create this SQL in my ODBC query it appears this error message:
This type of correlated subquery pattern is not supported due to internal error
But when I put the fixed ID's it normally accepts after the IN.
Like this:
select distinct id from datamart.d_user where id in (
1234,123,12345,1233,1111,1111111,122312312321
)
Would you know if there is any other way to make the Power Query accept my list of ID's as I did in dbeaver according to the photo below?
Thanks!
Does it work with an inner join?
select distinct a.id
from datamart.d_user a inner join
datamart.usuarios b on b.id = a.id
where b.id is not null
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.