Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have country wise slaes... Now i need to calculate total slaes % by coutry... So lets say total sales by all Countries = 1000 and the sales for US = 300.. Now i need to get the % as 300/1000.... How can i achive it.
Solved! Go to Solution.
Hi @unnijoy ,
I have built a simply data sample:
Please try:
Overall Sales % =
DIVIDE (
SUM ( 'Country-Sale'[Sales] ),
CALCULATE ( SUM ( 'Country-Sale'[Sales] ), ALL ( 'Country-Sale'[Country] ) )
)
Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @unnijoy ,
I have built a simply data sample:
Please try:
Overall Sales % =
DIVIDE (
SUM ( 'Country-Sale'[Sales] ),
CALCULATE ( SUM ( 'Country-Sale'[Sales] ), ALL ( 'Country-Sale'[Country] ) )
)
Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
102 | |
79 | |
72 | |
65 |
User | Count |
---|---|
141 | |
107 | |
100 | |
82 | |
74 |