Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello hope you can help me.
I am trying to create a measure that looks into the quantity (tbwght) for each row and divides it by the total quantity (tbwght) for all the rows - in the example 1120. This has to be automatically done for different set selections of tbinvrel - first column. Can you kindly help
Solved! Go to Solution.
hi, @Anonymous
You could get it just by this formula
Measure =
DIVIDE (
[tbwght],
CALCULATE (
[tbwght],
FILTER ( ALLSELECTED ( 'Table' ), Table[tbinvrel] = MAX ( Table[tbinvrel] ) )
)
)
Best Regards,
Lin
hi, @Anonymous
You could get it just by this formula
Measure =
DIVIDE (
[tbwght],
CALCULATE (
[tbwght],
FILTER ( ALLSELECTED ( 'Table' ), Table[tbinvrel] = MAX ( Table[tbinvrel] ) )
)
)
Best Regards,
Lin