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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Moniek
Resolver I
Resolver I

Import csv

Hi,

I import multiple excel files, for row header I added the function: "each Excel.Workbook([Content], true", now I want to import CSV files, does anyone knows what the "true" is in Csv.document? Thanks!

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @Moniek 

Unlike function used to access excel data, function used to return the contents of a CSV document does not contain nullable logical (true/false) values in options.

 

Excel.Workbook(workbook as binary, optional useHeaders as any, optional delayTypes as nullable logical) as table
Csv.Document(source as any, optional columns as any, optional delimiter as any, optional extraValues as nullable number, optional encoding as nullable number) as table

 

Please refer to official document about Power Query M formula language for more detail.

Csv.Document 

Excel.Workbook 

 

Best Regards,
Community Support Team _ Eason

View solution in original post

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @Moniek 

Unlike function used to access excel data, function used to return the contents of a CSV document does not contain nullable logical (true/false) values in options.

 

Excel.Workbook(workbook as binary, optional useHeaders as any, optional delayTypes as nullable logical) as table
Csv.Document(source as any, optional columns as any, optional delimiter as any, optional extraValues as nullable number, optional encoding as nullable number) as table

 

Please refer to official document about Power Query M formula language for more detail.

Csv.Document 

Excel.Workbook 

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors