Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello everone.
I need to show Sales % by countries. The sales % was showed properly before i add Currency Code. After i add Currency code column Sales % looks by every currency like in this photo.
i used this DAX expression :
🤔🤔
Hi @Anonymous ,
Try the two measures:
Sum of sales =
CALCULATE(
SUM(Sheet13[Sales_Amount]),
ALLEXCEPT(
Sheet13,
Sheet13[Nation_Name]
)
)
//
Sales % by country =
DIVIDE(
[Sum of sales],
CALCULATE(
SUM(Sheet13[Sales_Amount]),
ALL(Sheet13)
)
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HI @Anonymous
Adjust your formula as below:
Sales % by country 2 =
DIVIDE(
SUM( Book_Settles[Sales_Amount] ),
CALCULATE(
SUM( Book_Settles[Sales_Amount] ),
ALL( Shop[Nation_Name]),ALL(Book_Settles[Currency_Code])))
Regards,
Lin
Hi @Anonymous ,
use below DAX, replace ALL(Shop[Nation_Name]) to ALL(Shop),
Hi @Anonymous
Try adjusting your ALL() expression like below.
Sales % by country =
DIVIDE(
SUM( Book_Settles[Sales_Amount] ),
CALCULATE(
SUM( Book_Settles[Sales_Amount] ),
ALL( Shop )
)
)
Shop is a table name. Even i replace Nation name in Dax by Shop name, % doesnt look, it look all 100%
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!