Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Everyone,
I need help:
I have two tables Lets say 1&2
Result i want is :
Which is like Amount= If Probill is same add Gross weight and devide it by Freight amount (250.1*90/150)
Any suggestion is highly appreciated.
Solved! Go to Solution.
Hi @Anonymous ,
Use the below dax to create a new column:
test = LOOKUPVALUE(Table1[Reeight Amount],Table1[Pro Nmuber],'Table2'[Probill#])*'Table2'[Gross weight]/150
Best Regards
Lucien
@Anonymous , Join both of them assume it 1 -Many from first table to second
a new measure =
sumx(Table2, calculate( Divide(Table2[Gross weight]* related(Table1[ Freight amount]), sumx(filter(Table2, Table2[Prodbill#] = earlier(Table2[Prodbill#]) ), [Gross weight])) ) )
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.