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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors