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
Hi All,
i have a dax to calcualte Retail margin for each month & its able to calculate correctly, however the total of the row is completely different.
Solved! Go to Solution.
@jaswalsarthak , Mutiplication need to done at row level , check if this possible
RM YTD = DIVIDE(SUMX('RM Data','RM Data'[Value]*[Units In Price]),103)
or
Keep this same
RM YTD = DIVIDE([Units In Price]*SUMX('RM Data','RM Data'[Value]),103)
Change to consider Matrix column field
RM YTD Number = SUMX(BValues('BI Sales'[Month Year]), [RM YTD])
Thanks @amitchandak DIVIDE(SUMX('RM Data','RM Data'[Value]*[Units In Price]),103) worked perfectly.
@jaswalsarthak , Mutiplication need to done at row level , check if this possible
RM YTD = DIVIDE(SUMX('RM Data','RM Data'[Value]*[Units In Price]),103)
or
Keep this same
RM YTD = DIVIDE([Units In Price]*SUMX('RM Data','RM Data'[Value]),103)
Change to consider Matrix column field
RM YTD Number = SUMX(BValues('BI Sales'[Month Year]), [RM YTD])
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!