Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
techteam
Regular Visitor

Error importing "TIME" from SQL Server db

Hi,

I have a problem importing data from SQL Server db.

A column with type TIME(7) in db is recognised in Power BI as binary.

I've tried to convert data using transform tools, without success.

I've tried to add custom column with formulas, without success, same result.

The only conversion works fine is text.

An example:

CQAAAAAAAAAAAAAA

Anyone can help me?

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @techteam ,

 

You may refer to below:

= Table.TransformColumns(Source, {{"Begin Time", each Text.BetweenDelimiters(_, " ", ":", 0, 1), type text}})

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Thanks @v-frfei-msft for your response.

I've tried your solution, without success.

Error message:

 

Expression.Error: It is not possible to convert a value of type Binary to type Text.
Details:
Value=[Binary]
Type=[Type]

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors