Forum Discussion

kewaynes's avatar
kewaynes
Icon for Helper IV rankHelper IV
1 year ago
Solved

Unit of Measurement Conversions Calculated in Power Query or in DAX

I two reports that need to do unit of measurement conversions on several fields like weight, speed, volume, etc...   The reports have 4M records and 20M records, respectively. Because we are doing ...
  • Sergii24's avatar
    1 year ago

    Hi kewaynes, usually different units of measure are attributes of item/product. Therefore, they are part of dimensional tables (or bridge tables in case you have multiple units of measure per single item).

    Do you have 4 and 20 million of products? I suppose these tables are fact tables, that contain transactional information about your items. If it's so, you can build the following data model:

    Then you create a measure in your report, that performs UoM conversion during the report execution.
    I hope it helps! 🙂