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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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