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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Rockz
Helper I
Helper I

Sum of columns getting different value when compare to normal calculation

Dear champions ,

I have 2 columns which is being used in a matrix visual. when I'm trying to do sum of monthly bike sales but I'm getting different total when compare to normal calculation.

 

Rockz_0-1713523695196.png

Rockz_1-1713524083384.png

Thanks in advance!

2 REPLIES 2
Anonymous
Not applicable

Hi @Rockz ,

Thank you for @sanalytics answer,and I have other suggestions:

In Power BI, for total and subtotal rows, the measure is evaluated over all rows in the underlying data, not just a simple addition of the values in the visible or displayed rows. This means the total row might display different values than you might expect, especially if the value you’re summing is on the ‘one’ side of a one-to-many relationship.

Here are a couple of steps you can take:

   Ensure that the relationship between the tables (if your data model involves multiple tables) is correctly set up. A common cause for unexpected totals is a misunderstanding or misconfiguration of the data model, especially in how tables relate to each other.

Below is the official link will help you:

Create a matrix visual in Power BI - Power BI | Microsoft Learn

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

sanalytics
Super User
Super User

Hello @Rockz 

 

Try this measure

ForTotal = Sumx( Values(Period[Period] ),[ Monthly bikes sales] )

 

Assuming your period column is coming from Period Table.

 

Regards

sanalytics

If it is your solution then please like and accept it as solution

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors