Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.
User | Count |
---|---|
98 | |
90 | |
82 | |
70 | |
67 |
User | Count |
---|---|
115 | |
104 | |
101 | |
72 | |
64 |