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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.