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! Request now

Reply
lyfe0fedd
New Member

Measure Total isn't outputting the Total sum?

I have a measure Commission = [Qty]*[Comm fixed 40%]

what it's doing is multiplying the Total Qty and the Total 40% but what I want it to do is just calculate the sum of all commission figures which is $6,154.61, not $63,682.8

powerbi SS comm.png

4 REPLIES 4
TomMartens
Super User
Super User

Hey @lyfe0fedd ,

 

create a pbix file containing sample data that still reflects your data model (tables, relationships, calculated columns, and measures). Upload the pbix to OneDrive, Google Drive, or Dropbox and share the link. If you are using a spreadsheet to create the sample data instead of the manual input method, share the Spreadsheet file as well.

 

Explain the expected result based on the sample data you provide.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Book.xlsx - Excel Data Set for Power Bi

PowerBI link - https://app.powerbi.com/links/RWRNY9uZZj?ctid=32dfd67c-42d4-473b-8b85-ecf9779aa69f&pbi_source=linkSh...

not sure if this is helpful but essentially I have linked the Sales-Cash and Commission by the Item Name

TomMartens
Super User
Super User

Hey @lyfe0fedd ,

 

you have to leverage a table iterator function like SUMX, your measure will then look like this:

 

the measure = 
SUMX(
    '<the table>'
    , [Qty] * [Comm fixed 40%]
)

 

I assume that [Qty],  [Comm fixed 40%] are measures.
If [Qty] is a column, then your measure might looks like this:

 

the measure = 
SUMX(
    '<the table>'
    , '<the table>'[Qty] * [Comm fixed 40%]
)

 

Hopefully, this helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hi TomMartens, I've done that before but still didn't work. Not sure why the Total skews up
powerbi SS comm.png

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.

Top Solution Authors
Top Kudoed Authors