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

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

Reply
jacob_brooks
Regular Visitor

Converting Unit of Measure Assistance

I need to create a DAX formula that will look at the Sales UOM and if it matches the Inventory UOM then give me the Sales Quantity but if it doesnt match the Inventory UOM then perform the conversion on the Sales Quantity UOM to the Inventory Quantity UOM.

 

Sales Invoice Line Table                                        

Sales QTY         Sales UOM

6,016                LB

2,286                KGM

 

Released Products Table

Inventory UOM

LB

LB

 

Unit of Measure Conversion Table (All Columns I Have)

Denominator         Factor                    Numerator        Item Number                  Original UOM      Conversion UOM

Always a (1)           Conversion Rate    Always a (1)      Used for Relationship     UOM                    UOM 

 

 

The relationships are the sales table is the fact table connected to released products (dimension) on Item Number, then released products table to unit of measure conversion table on item number.

1 REPLY 1
lbendlin
Super User
Super User

"The relationships are the sales table is the fact table connected to released products (dimension) on Item Number, then released products table to unit of measure conversion table on item number."

 

Please provide sanitized sample data that fully covers your issue. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.