Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi, I got a probelm when i import Oracle DB to Power BI Desktop (with Direct query).
when i check in Oracle DB, It show me 'YYYY-MM-DD' in date type.
but when i import in Power BI, it change automatically 'YYYY-MM-DD HH:MM:SS'.
if i change type manually, i can not use direct query mode anymore.(must disable when i change anything manually).
anyone who has the same problem like me, please reply or advice plz...
Solved! Go to Solution.
Hi @Nate,
Try this:
1. Get your data as is from Oracle DB.
2. Close the query editor
3. Click on the column in field list and then go to Modelling tab.
4. Change the type to date.
It might work.
Prateek Raina
I don't have a readily available Oracle data source to check this out but can you confirm any of the following;
1. Are querying just the column or are you doing data transformation like to_date(...,''YYYY-MM-DD'')?
2. Can you change the data type to_char on the date part of the query itself?
3. Once changed, does PBI still transform it into a date/time data type?
Hi @Nate,
Try this:
1. Get your data as is from Oracle DB.
2. Close the query editor
3. Click on the column in field list and then go to Modelling tab.
4. Change the type to date.
It might work.
Prateek Raina
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
84 | |
69 | |
68 | |
39 | |
37 |