Forum Discussion
mb0307
4 years agoResponsive Resident
Percentage by PO Number
Hi all, I want to calculate percentage of qty per PO Number (example below so by PO1 and PO2). I want to use percentage to be dynamically calculated (but always by PO Number) if I am...
- 4 years ago
Hi mb0307
Try this measure:
Percentage by PO Number = VAR _Qty = MAX ( 'Table'[Qty] ) VAR _TotalQtyPO = CALCULATE ( SUM ( 'Table'[Qty] ), ALLEXCEPT ( 'Table', 'Table'[PO Number] ) ) RETURN _Qty / _TotalQtyPOOutput:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Kevin_Harper
4 years agoHelper I
Can you add what results you are expecting to see based on the information in your table above if you were to manually calculate the answer?
Are you looking for a 5th column to show these results?