Forum Discussion
AlejandroPCar
Helper IV
9 years agoHow to make Contribution to Growth formula?
Hi! I need help again. I need to calculate the contribution to growth measure (annual growth by share of the total). So if my shoes exports growth 10% in 2015 and this year the shoes' share o...
- 9 years ago
Hi AlejandroPCar,
Based on my test with your shared pbix file, you should be able to use the formula below to create a new measure to calculate Percentage of total. :smileyhappy:
Percentage of total formula = DIVIDE ( SUM ( EAM[Valor Agregado] ), CALCULATE ( SUM ( EAM[Valor Agregado] ), ALL ( EAM ) ) )Regards
v-ljerr-msft
Microsoft Employee
9 years agoHi AlejandroPCar,
Could you post your table structures(including the measures you're using) with some sample data and your expected result, so that we can better assistant on the formulas? It's better to share a sample pbix file if possible. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading. :smileyhappy:
Regards
AlejandroPCar
Helper IV
9 years ago- v-ljerr-msft9 years ago
Microsoft Employee
Hi AlejandroPCar,
Based on my test with your shared pbix file, you should be able to use the formula below to create a new measure to calculate Percentage of total. :smileyhappy:
Percentage of total formula = DIVIDE ( SUM ( EAM[Valor Agregado] ), CALCULATE ( SUM ( EAM[Valor Agregado] ), ALL ( EAM ) ) )Regards
- AlejandroPCar9 years ago
Helper IV