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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Transform database the size o a list of documents into kb or Mb

Hi community,

anyone knows the best approach to show the proper size of databse of documents of a folder?

the size figure proposed by PowerBI is a simple number, and i would like to show these sizes into Kb or Mb

PedroYondr_0-1668418344907.png

 

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

Hi @Anonymous ,

You may consider creating a new custom column like:

= Text.Format("#[size]Kb",[size = Number.Round([Attributes.Size]/1024,1)])

vcgaomsft_1-1668493450510.png

Note that this will change the original data type of the column from number to text.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

1 REPLY 1
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

You may consider creating a new custom column like:

= Text.Format("#[size]Kb",[size = Number.Round([Attributes.Size]/1024,1)])

vcgaomsft_1-1668493450510.png

Note that this will change the original data type of the column from number to text.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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