Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi I'm importing data from a table using hte below sql code. The problem is i get the full table including the data from description that i do not want. When i use like instead of not like the code seems to work.
select * from public.report_investment_items_view where
"Description" not like '%Accrued%' OR
"Description" not like 'receivable%' OR
"Description" not like 'ATO%' OR
"Description" not like 'Borrowing%' OR
"Description" not like 'Cash%' OR
HI @Anonymous ,
Could you please tell us what's error message did you meet when you import the data? Based on my test, all works normal.
Best Regards,
Teige
Hi @Anonymous
Why the double quotes around description? Also you have an extra OR at the end?!
Works fine for me with MySQL DB.
Thanks
Hi..its postgres server that i need to connect to..so the syntax needs double quotes for column name..the extra or is not in the actual code..i just pasted a sample
Sorry, I cannot test PostgreSQL.
Maybe others can test and say if there is a bug?!
Cheers!
A
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.
User | Count |
---|---|
83 | |
42 | |
30 | |
27 | |
27 |