Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi guys, I've a question about the integration of ACL with Power BI, I'm new here, so I don't understand so much about the topic.
I do the connnection with ODBC and I find correctly the table I want, but, ever show me this error:
DataSource.Error: ODBC: ERROR [HY000] [ACL][AclDSI] (7) Error converting Acl Connector string data ('Boa tarde!) to SQL type LONGVARCHAR.
Details:
DataSourceKind=Odbc
DataSourcePath=dsn=ACL ODBC 64
OdbcErrors=Table
If I delete this column where has this string, show the error on another colum, and ever is about the convertion in LONGVARCHAR.
If you need something else about more information, I'll respond as soon as possible.
Thanks guys.
I took a picture about this error:
Solved! Go to Solution.
@mathdts,
The above error message indicates that ODBC driver is not properly converting ACL's string data into an SQL equivalent. You would need to find out these text values and clean them with REGEXREPLACE function in ACL before you import data to Power BI Desktop. For more details, please review Thomas's reply in the following similar thread.
https://community.acl.com/s/question/0D5C000003v6Tv2KAE/microsoft-power-bi-connector?language=en_US
Regards,
Lydia
@mathdts,
The above error message indicates that ODBC driver is not properly converting ACL's string data into an SQL equivalent. You would need to find out these text values and clean them with REGEXREPLACE function in ACL before you import data to Power BI Desktop. For more details, please review Thomas's reply in the following similar thread.
https://community.acl.com/s/question/0D5C000003v6Tv2KAE/microsoft-power-bi-connector?language=en_US
Regards,
Lydia
@mathdts,
How is the issue going?
Regards,
Lydia
I already tried the solution of REGEXREPLACE(FieldName '\r|\n' ' ') to clean your text fields of these characters, but it didn't work, I'm still getting this error:
DataSource.Error: ODBC: ERROR [HY000] [ACL][AclDSI] (7) Error converting Acl Connector string data ('Margecca) to SQL type LONGVARCHAR.
I'd appreciate any help. Thanks in advance.
I got a solution. The non-printable TAB character also provoke this error, so the solution was to include it in the Regular expression, like this:
ALLTRIM(REGEXREPLACE(FIELDNAME; "\r|\n|\t"; ""))
Hello, could you show the example of query? I cannot find, how to apply this regulat expression