Forum Discussion
Omega
9 years agoImpactful Individual
Define aggregation at total
Hi, I am new to power BI and I need some help with aggregation. Assume I have the below table: SKU| Export| Import| KPI1%| KPI2% 001 | 500 | 100 | 80% | 80% 002 | 600 | 200 | 67...
- 9 years ago
Hello,
You may use following formula:
KPI1% =
DIVIDE (
SUM ( Table1[Export] ) - SUM ( Table1[Import] ),
SUM ( Table1[Export] )
)KPI2% =
DIVIDE (
SUMX ( Table1, ABS ( Table1[Export] - Table1[Import] ) ),
SUM ( Table1[Export] )
)
LaurentCouartou
9 years agoSolution Supplier
This measure should return the expected results if 'Table' only contains one row per SKU.
Is it the case?
Omega
9 years agoImpactful Individual
Yes.