Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
nirrobi
Helper V
Helper V

Get data using sql statement

HI,

 

What is the right syntax to load table with"

where table.date > 2013?

Year is after 2013 - I got many kind of error.

 

 

Many thanks.

1 ACCEPTED SOLUTION

@nirrobi you can look here to determine the cause

http://www.techonthenet.com/oracle/errors/ora00911.php


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

3 REPLIES 3
Seth_C_Bauer
Community Champion
Community Champion

@nirrobi what is the datatype of the date column?

Something like this may work, but without the schema of the table no one can directly help you

select <column1>, <column2>, etc
from table
where date > '2013-1-1'

 


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Hi,

 

the data type is:

2015-10-04 00:00:00

 

I succeed in excel query to filter by date but its look like:

DATE>{ts '2015-10-04 00:00:00'}

 

when I paste it in power bi I get the error:

Oracle: ORA-00911

 

Any idea?

 

many thanks.

 

Nir

@nirrobi you can look here to determine the cause

http://www.techonthenet.com/oracle/errors/ora00911.php


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors