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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
carinatina_pbi
Frequent Visitor

Total line is not matching the lines sum

Hi guys,

 

PBI is getting a strange behaviour, total line is not matching correct sum of the lines as below:

Print 05.JPG

It should be as excel file below - I am replicating it in PBI.

Print 04.JPG

 

Both file can be download here:

Excel:

https://docs.google.com/spreadsheets/d/1JTUAUdjbPiczynWTcs_bWeqomgyQTtot/edit?usp=sharing&ouid=11713...

PBI:

https://drive.google.com/file/d/1y3hLouUxvSQhITCzB5F4j63jvZZrIJ7r/view?usp=sharing

 

Maybe I also need to replicate in PBI columns 1st month and last month from excel in order to get correct numbers?

I am not sure which formula should I use to ranking months in PBI in order to get them.

 

Can somebody help me on that issues?

Thanks in advance!

 

 

1 REPLY 1
HotChilli
Super User
Super User

It's a totals issue rather than "PBI is getting a strange behaviour".  The measure is being evaluated across the whole table where you want it to sum the individual values for each line.

Have a look at g deckler's posts "dealing with measure totals" and I will help if you are not getting anywhere.

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