Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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])
| User | Count |
|---|---|
| 23 | |
| 20 | |
| 18 | |
| 16 | |
| 10 |
| User | Count |
|---|---|
| 54 | |
| 53 | |
| 40 | |
| 37 | |
| 32 |