Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi All, I am getting the error message "We cannot convert the value null to type Record" when trying to conect the PowerBI Desktop with Athena. Would really appreaciate your support here.
Background: The connection was working fine. I updated one file in AWS and started getting this message. Changed the file back to the previous one (which was working fine) but still gettting the same message.
The ODBC driver and Athena are connected fine. Additionally, the PowerBI service over the Gateway is also working fine. Only the connection with PowerBI Desktop is giving this error message.
Hi Hatim,
I'm currently also dealing with this error. This doesn't happen to me but it does if i share the .pbix and the other user (regardless using the same DSN name) gets this error.
If i get a solution, i'll help.
Regards
Hi @Hatim ,
According to your description, you mentioned type Record, according to which you seem to be using advanced editor to link to AWS Athena, and at the same time performing data type conversion in advanced editor, first of all you can make sure that there are no null values. Please provide us with the complete code in the advanced editor after you have ruled it out for us to troubleshoot.
Please remove any sensitive data in advance.
Best regards
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
I have double checked the CSV file for the null values and there are none. There seems to be some other issue since the old file, which was working perfectly well is also not working. There is something at connection level. The PowerBI service is working fine with both (old and new) CSV files. The issue is only with desktop version.
I have been also checking the net and found others also had same issue and was not releated to null values. The solution in the link below did not work for me.
CREATE EXTERNAL TABLE `budget`( `app` string, `time` int, `amount` float) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' LOCATION 's3://costdata-/Budget Info CSV' TBLPROPERTIES ( 'classification'='csv', 'transient_lastDdlTime'='xx')
Try clearing all caches on the Power BI Desktop app (in the settings)
Cleared everything in the caches, however, did not work.
User | Count |
---|---|
66 | |
61 | |
47 | |
33 | |
32 |
User | Count |
---|---|
87 | |
72 | |
56 | |
49 | |
45 |