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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.