Hello,
We are replicating SAP tables through SLT.
Date columns in SAP are stored as varchar(8) so SLT converts it on HANA using the same data type.
I'm trying to keep the direct query function and I've tried a couple of options that don't work.
1. Change the data type using Modeling funciton on Power BI.
It "converts" the data, but whenever I try to use it on a visual it gives the following error: Couldn't load the data for this visual. Unable to convert a value to the data type requested for table X column Y.
2. Creating a new column using TO_DATE or CAST as date on the direct query.
Power BI recognizes it as a date, but when trying to use a date slicer or any other date function HANA returns an error: invalid DATE, ,TIME or TIMESTAMP value.
As well, any function (add, substract,etc) done on the new columns will still try to query the source, which will ask for a DATE but will return a VARCHAR. Error: Inconsistent datatype.
3. Any modification to the Advanced editor will break the direct query.
Anyone has a solution for this?
Thank you.