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

View all the Fabric Data Days sessions on demand. View schedule

Reply
GMuylle
Regular Visitor

Problem with Matrix and measures total (group)

I have a problem calculating totals in matrix.
There is 1 table history with all movements +/- of articles with a purchase price. I only need the last purchase price multiplied by the total + or - of the correct item.
This will work. I am getting the correct amount of quantity in stock * last purchase price via DAX

These articles are linked to a group, but I can no longer make a total sum per group of articles. The Group total is not correct. When Single item (1 article) is present in the group, the total of the group is correct calculated.
The grand total is also not correct calculated

GMuylle_2-1602080809174.png

 

DAX:
_arttot:

GMuylle_3-1602080955815.png

 

0 REPLIES 0

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.