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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
aAmirkHan
Helper II
Helper II

Blank date is coming in Power Query

Hi,

 

I am importing a CSV file containing more than 700K in Power Query. However, I am also getting null in my date column in 

PQ. Although I have checked the date in my source CSV file, there is not a blank date in the date column.  

Can you please help me how to fix it?

 

 

Power BI.jpg

Excel.jpg

 

1 ACCEPTED SOLUTION
Omid_Motamedise
Super User
Super User

In the step of extracting data from csv rewrite the formula as bellow

 

Text.Csv(
File.Contents("C:\YourFilePath"),
[Delimiter=",", Columns=8, Encoding=65001, QuoteStyle=QuoteStyle.Csv]

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h

View solution in original post

5 REPLIES 5
Omid_Motamedise
Super User
Super User

In the step of extracting data from csv rewrite the formula as bellow

 

Text.Csv(
File.Contents("C:\YourFilePath"),
[Delimiter=",", Columns=8, Encoding=65001, QuoteStyle=QuoteStyle.Csv]

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h

Thank you @Omid_Motamedise 

The above step is working fine for me.

lbendlin
Super User
Super User

not there.  click on the settings icon next to the "Source" step.  

 

lbendlin_0-1731339373182.png

 

aAmirkHan
Helper II
Helper II

Thank you @lbendlin for the response.

I am still unsure and seeking your advice. Please let me know what option I should choose while importing CSV file data in Power Query. Please refer to the screenshot below.

 

PQ Screen shot.jpg

lbendlin
Super User
Super User

change your CSV ingestion to "ignore quoted line breaks"  and make sure you use the correct encoding.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors