Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Why text is changed even when parsed as text

$
0
0

I try to parse IIS log files. The log files have this structure: 

 

 2017-01-18_21h24_55.png

I load the files from folder, so I combine the files like this

 

2017-01-18_21h27_29.png

 

I select "space" as separator, the line is parsed, but the first column is changed to other format. Why?? 2017-01-18_21h29_51.png

 

The resulting column has type "text", so why is it interpreted as date?

I tried to change my regional settings in PowerBi Desktop, but no luck.

 

And other weird behaviour is when I try to merge the first two columns and make a text date like this

 

2017-01-18_21h36_50.png

click on "Merge column", specify "Space" separator and the result is..

 

2017-01-18_21h39_07.png

 

The seconds are lost. Whe I look into Advanced editor, I see

    #"Merged Columns" = Table.CombineColumns(Table.TransformColumnTypes(#"Expanded Table Column1", {{"Column1", type text}, {"Column2", type text}}, "cs-CZ"),{"Column1", "Column2"},Combiner.CombineTextByDelimiter(" ", QuoteStyle.None),"dt")

It's probably somehow related to the cs-CZ culture (where did it came from?), but this imho doesn't explain, why the seconds are lost.

 

Thank you for your attention Smiley Happy Any help would be appreciated as this are the basics that I'm struggling with and I can't move over it.


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>