The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello all.
I have this strange error. I say strange because I can refresh the data on the Query Editor but I can't connect it to the model when I do "Apply". I get the 0x80040E4E error and I have literally no idea why. I just know it started occuring after I grabbed data from a folder and I created a function to get the filename in a column.
Any thoughts?
Thanks in advance!
Error
Funtion
Solved! Go to Solution.
After messing around with the file, I solved it. It has to do with character support, as I had cubic and degree sign on the code and it was read as "?". I changed the encoding to Western Europe and it is solved. But it was not intuitive, as the error code did not point to this. Anyway, I hope this may help someone with the same problem.
Thanks for your support.
EDIT: Sorry I didn't see this is an old post. Hopefully helps somebody.
Yes this was my problem too. At least how it started. But it's impossible to avoid duplicate data. I am collecting data for the local council which is basically a list of dates and sites and measurements. Of course the sites and dates and measurements will have duplicates. If there is no rainfall, or a sensor is broken, it will read zero. I noticed that I had set it on some tables to filter out null values, I am a student so I didn't know, I think as a solution last time it told me duplicate values are not allowed in a one-to-one relationship, then realised today I don't want that so I removed it, and immediately got this error. I fixed it by selecting all relationships and deleting them. Also cleared cache in Power BI itself, it was over 2gb.
I am trying to get data from Google Analytics to Power Bi but for page and page views field I am getting ' failed to save modifications to the sever . Error returned: 'OLE DB or ODBC error: [DataSource.Error] There was an internal error.. ;. Can you please help me with this issue
Hi @Anonymous,
It seems that the error throws out when you apply the changes, right? In your scenario, please try to update the desktop to the version 2.42.4611.901 released in 1/20/2017.
If issue persists, please try to share the sample folder data source and sample .pbix file to reproduce the issue if possible.
Best Regards,
Qiuyun Yu
@v-qiuyu-msft i am using the latest PBI november 2020 and still getting similar error (OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E.Object refrence not set to an insatance) . any idea why its still an issue.
After messing around with the file, I solved it. It has to do with character support, as I had cubic and degree sign on the code and it was read as "?". I changed the encoding to Western Europe and it is solved. But it was not intuitive, as the error code did not point to this. Anyway, I hope this may help someone with the same problem.
Thanks for your support.
Hi,
I know this thread is quite old, but maybe someone stumbles over this again. This error seems to have a broad spectrum of possible causes. In my case, it involved some tables being included in the incremental refresh and activating DirectQuery (Power BI Premium) to acquire the latest data. In a few DAX expressions, it broke the LOOKUPVALUE function, and it had a ripple effect on a few other tables.
Thanks. This is what I thought happened in mine
Como você fez para alterar a configuração dos dados ? Para Europa ocidental ?
I don't understand this solution but have a similar problem. One of my errors is
So no mention of any column. And by the way there are no data type changes in the query editor.
Do you have any ideas how to fix? I may post this in a few places.
Thanks
Rob
Works! I changed the data type to correctly reflect the data and it works now. Thanks.
Dear Svalen,
Was your file a csv? I am facing the same issue with an excel file (error after grabbing data from a folder). Still nothing worked so if you have any idea?
Hi, check your encoding in the Advanced Editor (first line I believe or by clicking source options in the next steps).
Go to Data Source Settings
Choose Global Permissions and clean any permissions not used, include anyone not used in "Data source in current file".
It did work with my error too. I changed mine to Ariel. Thank you for posting this.
Which code do you refers to? This error is happening to me, can you help me please? How can I solve this?
If you go to the advanced editor, if your problem is similar to mine, you'll probably see some strange characters with question marks or something.
On my case, it was the name of the columns on the excel source file that was not being read properly. On the query, on the first step (Source), click on the settings button and change the encoding to Western Europe or other that works.
If you can't do this tell me, I might be able to help.
Just in case it helps anyone else, inside the Excel file I am importing I had a duplicated value for a field used as a 1to* relationship and that was breaking Power BI.
I am having this Error, but I could refresh my data using query ,
Teh advanced editor seems to have nothing strange
Please Help
I had this error as well after duplicating a table via Google Analytics connector. My issue was that I renamed the table in 'Transform Data' mode which wouldn't reflect inside the Report view and it gave me the internal error OLE .... Be careful to rename it inside transform data, rather do it after successfully added and rename it in Report mode. I've been able to rename tables it in either mode, so its a bit odd to me in this case.
@Anonymous
Could you provide more detail on you roslution? When I go to the query page and click the settings button, where do I go to change the encoding? I don't see an apparant way of doing this when I am connected via ODBC.
Many Thanks!
User | Count |
---|---|
77 | |
75 | |
36 | |
31 | |
28 |
User | Count |
---|---|
95 | |
81 | |
55 | |
48 | |
48 |