cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

get byte size before buffer

Concerning the M languages Table.Buffer function:

 

  Is there a way to get the byte size of a table before buffering it?  For instance, most desktops in our office have 8GB ram, so I'like to say Table.Buffer if table is < 5GB otherwise fold back to file.

1 REPLY 1
Highlighted
Microsoft
Microsoft

Re: get byte size before buffer

Hi @Jmarshall,

 

Based on my research, I didn't find a direct M function that supports to calculate the byte size of a table.

 

However, if you get data source from a folder which contains corresponding size for each file itself, you could refer to this blog to Retrieve file sizes from the file system using Power Query

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors