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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Matas
Advocate II
Advocate II

SSIS Derived Column

Hi,

 

I have an issue and cannot find easy solution. I have a data coming as a TimeStamp in a weird format (this format cannot be changed) as "20.190.105.070.515" it indicates yyyy-mm-dd-hh-mm-ss. Using Derived Column (REPALCE(TIMESTAMP, ".", " ")) I was able to remove these dots and convert data in a database as "20190105070515". Now I would like to leave only the first 8 digits and delete the rest using Derived Column since I need to do some calculations based on the yyyy-mm-dd. Anyone could help me with a syntax or approach?


Idealy I would like to have everything in one line (changing dot to empty and substring first 8 digits) something as REPLACE(TIMESTAMP,1,8) + SUBSTRING(TIMESTAMP,1,8), but this code doesnt not work, since it replaces the dots into empty but after that it takes the whole value again from CSV file and substrings it again leaving me with even weirder result.

 

Regards,

Matas

 

Screenshot_3.png

 

Screenshot_4.png

1 ACCEPTED SOLUTION

Hi @BA_Pete,

 

Thanks for your feedback. I will remove it, can I ask how? Since it does not appear in my settings anything about deletion. 

 

Regards,

Matas

View solution in original post

3 REPLIES 3
BA_Pete
Super User
Super User

Hi @Matas ,

 

You've posted this in the Power BI Power Query forum.

As it doesn't appear as though you want a Power Query solution, I would recommend reposting this in a more relevant forum and removing this one.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Hi @BA_Pete,

 

Thanks for your feedback. I will remove it, can I ask how? Since it does not appear in my settings anything about deletion. 

 

Regards,

Matas

Hi @Matas ,

 

No problem, I can't see that I can remove it either.

I'll mark it as a solved solution here to avoid confusion with other users on the board.

 

Best of luck with your question.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.