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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Unit Conversions based on Conversion factor column from another table

Hi All,

 

I have a trouble finding out a way to calculate the columns using the Conversion factors. I have a table with Inventory values and all the values in the table contain different units of measure. The table with the screenshot also contains Product_id's which creates a relationship with the Conversion_table.

DhanyaSree_2-1660029138944.png

DhanyaSree_3-1660029168533.png

The column not only contains CS but has other units_of_measure as well.

 

DhanyaSree_1-1660028946229.png

The above table is the conversion table that has the conversion factor based on the Product_id. 

Now I'm stuck and confused on how to calculate the Unrestricted_column based on the conversion factor.

 

Example: I want to convert the unrestricted column from the first table to LB's which contains all kinds of units such as CS,EA,KG,etc. that has conversion factor in the conversion_table. 

I think this may things easier if we can convert the entire units into one i.e. Cases (CS).There's no idea that's striking up even for this usecase.

I need a solution for the above problem. 

 

Hoping that someone can help me on this.

 

Thanks in advance.

 

@amitchandak , @JihwanKim , @tamerj1 , @ChandeepChhabra @Vahid-DM @SpartaBI @Ashish_Mathur @Fowmy @RayWu @lbendlin 

 

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

Sharing just a screenshot will not help.  Please share the download link of your PBI file.  Along with that, share an MS Excel file with your Excel formulas there so that your logic can be understood and translated into the DAX language.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors