Forum Discussion
rajiramk
2 years agoFrequent Visitor
Convert Bytes to KB/MB/GB
I have used the below code to create a formula to convert Bytes into KB, MB, GB, TB. The calculation seems to be right but when we are validating the size between Azure cloud and Power BI there is sl...
Greg_Deckler
Community Champion
2 years agorajiramk Change 1024 to 1000? GB Vs GiB: What’s The Difference? - MASV (massive.io)
- rajiramk2 years agoFrequent Visitor
Thanks for your reply. I tried to change , it did not help. I got the same (45.73 GB)
- Greg_Deckler2 years ago
Community Champion
rajiramk Oh, duh, you need to modify your POWER statements as well. GiB is based on powers of 2^10 = 1024. GB is based on powers of 10, 10^3 = 1000.
- rajiramk2 years agoFrequent Visitor
Thank you Greg for the help. sorry for the dealy reply.