Forum Discussion
Saxon10
5 years agoPost Prodigy
Convert units
Hi, Column A:C are length, width and Height and column D is unit of dimension of each rows, column D contain multiple unit of dimension which is CM, MM and M. How can I convert CM and MM i...
- 5 years ago
Hey Saxon10 ,
for each of the 3 columns (Lenght, Width and Height) add a calculated column:
Length in Meter = SWITCH( MyTable[UOM Dimension], "M", MyTable[Length], "CM", MyTable[Length] / 100, "MM", MyTable[Length] / 1000 )Same formula for the other 2 measures 😉
If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.bi
selimovd
5 years agoMost Valuable Professional
Hey Saxon10 ,
for each of the 3 columns (Lenght, Width and Height) add a calculated column:
Length in Meter =
SWITCH(
MyTable[UOM Dimension],
"M", MyTable[Length],
"CM", MyTable[Length] / 100,
"MM", MyTable[Length] / 1000
)
Same formula for the other 2 measures 😉
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
Best regards
Denis
Blog: WhatTheFact.bi