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 column(size) which I imported from MySQL database to the dashboard which is in bytes and I need to convert it into gega/tera bytes.
| Table_name | Table_type | Size |
| Abcr | external | 80 |
| service | virtual | 14734562 |
Solved! Go to Solution.
Hi @Anonymous ,
Is this what you want?
If so,
1. you can add two columns in Power Query Editor like so:
2. Or you can create two columns or measures in Power BI Desktop.
gega byte measure = DIVIDE(MAX('Table'[Size]),POWER(1024,3))tera byte measure = DIVIDE(MAX('Table'[Size]),POWER(1024,4))gega byte column = DIVIDE('Table'[Size],POWER(1024,3))tera byte column = DIVIDE('Table'[Size],POWER(1024,4))Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Is this what you want?
If so,
1. you can add two columns in Power Query Editor like so:
2. Or you can create two columns or measures in Power BI Desktop.
gega byte measure = DIVIDE(MAX('Table'[Size]),POWER(1024,3))tera byte measure = DIVIDE(MAX('Table'[Size]),POWER(1024,4))gega byte column = DIVIDE('Table'[Size],POWER(1024,3))tera byte column = DIVIDE('Table'[Size],POWER(1024,4))Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |