Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Reuben
Helper III
Helper III

unit of measure - many to many

Hi,

I have two tables with a many to many relationship:
1. Fact table: Sales qty by item. UOM = "CA" Cases
2. Conversion table of units of measures by item: Each item has 2 possible conversions. "EA" units and "LT" Liters.

I want to create 2 different DAX formulas:
1. Qty EA = Qty in fact table x conversion
2. Qty LT = Qty in fact table x conversion

Attached a simplified model in case it helps

 

https://www.dropbox.com/scl/fi/ckswmf98eef3equ727eus/UOM-Conversion.pbix?rlkey=h8bs72eavdl8dp55jmdaq...

 

Thank you very much for your help.

1 REPLY 1
lbendlin
Super User
Super User

Your sample data doesn't match the description. No many to many relationship (which is a good thing)

 

lbendlin_0-1696110479820.png

 

but also no UOM CA, but instead LG

 

lbendlin_1-1696110526029.png

 

please clarify and provide more fitting sample data.

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.