Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a table containing a list of PC's, one of the columns is drive capacity in bytes. (Data export from Intune, via Graph)
How do I create a new column that contains a rounded up value based on the drive capacity?
Same challenge for memory, also in bytes.
Example data:
| totalStorageSpaceInBytes |
| 1021821583360 |
| 509722230784 |
| 509722230784 |
| 1002444947456 |
| 1021821583360 |
| 509722230784 |
| 509722230784 |
| 510770806784 |
| 509722230784 |
| 509722230784 |
| 509722230784 |
| 509722230784 |
| 509722230784 |
| 509722230784 |
| 509722230784 |
| 286129127424 |
| 509722230784 |
| 509722230784 |
| 509722230784 |
| 510586257408 |
| 261216010240 |
I'd like a new column called 'DriveCapacity' that contains the simplistic Gb calculation from this drive capacity. Such as 1TB or 512GB
What is the syntax of a formula to do this?
Solved! Go to Solution.
@Blue407 Try this:
Column = ROUNDUP( [totalStorageSpaceInBytes] / 1073741824, 0 ) & "GB"
Thats perfect, thankyou!!
@Blue407 Try this:
Column = ROUNDUP( [totalStorageSpaceInBytes] / 1073741824, 0 ) & "GB"
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 46 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 125 | |
| 102 | |
| 69 | |
| 53 |