Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. TotalByCountry =
  2. CALCULATE(
  3. COUNTROWS(FactNuclearPowerPlant);
  4. ALLEXCEPT(FactNuclearPowerPlant;
  5. FactNuclearPowerPlant[CountryName]
  6. )
  7. )
  8.  
  9. TotalByCountryPercent =
  10. SWITCH(
  11. TRUE();
  12. ISINSCOPE(FactNuclearPowerPlant[ReactorType]);
  13. DIVIDE([CountFactNuclearPowerPlant];[TotalByCountry]);
  14. ""
  15. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement