Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Monami
New Member

Dynamic % of total

Hi!
I'm trying to calculate the weight % out of all product list, which I am able to do with the formula below, 
but only if the row in the visual is of the product. my question is how can I do the calc whil changing the row to any other dimension? i.e. Sales person. Is this possible to have the weight % of products change in according to the leading row ?
thanks all!!
 
RM Mix =
DIVIDE([AM_RM_Weight_Fact_Sales],
    CALCULATE([AM_RM_Weight_Fact_Sales], ALL(Dim_Product)),BLANK()   )
2 REPLIES 2
Monami
New Member

YES! I apllied ALLSELECTED() as I have filteres on the page and it worked.

THANKS!

olgad
Super User
Super User

Hi, dont specify the dimproduct table ALL(Dim_Product), simply All()


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors