Skip to main content

Power BI

New

When parsing a text document treat /N and "null" as null values

Vote (1) Share
Andrew Tobin's profile image

Andrew Tobin on 31 Mar 2017 02:44:16

When I bring a csv document from data lakes/other sources it does a fantastic job of parsing most initial csv issues - including promoting first row as headers and detecting types... what it doesn't do is parse out NULL values first.

What I'd like is for it to quickly do the NULL value checking and replace any likely null values prior to doing the data type detection - uppercase check against "" and "NULL" seem to be common.

This would solve the last of my initial changes to any data model straight from csv.

Comments (1)
Andrew Tobin's profile image Profile Picture

4d11c5f9 4c08-4089-92c8-ce25231802d3 on 05 Jul 2020 22:45:03

RE: When parsing a text document treat /N and "null" as null values

Just to be clear, I'd like this to happen prior to the "Detect Data Types" in the sequence, because it would change rows that are currently detecting as text to detect as numeric types with null values.