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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
FrederikB
Frequent Visitor

Table total not correct

I have this table (I am sorry about the weird danish letters in the column names).

I have set it to automatically show the total, and it works in all the columns but the one showed in the image below.

 

How can I fix this?

 

FrederikB_0-1662966071328.png

 

1 ACCEPTED SOLUTION

@FrederikB 
Apologies for the late response. Please try new measure:

Sum of Max Omsætning =
SUMX (
    SUMMARIZE ( Invoices, 'All bookings'[Åbn], 'All bookings'[Afholdelsesdato] ),
    CALCULATE ( MAX ( Invoices[Omsætning] ) )
)

 

View solution in original post

3 REPLIES 3
FrederikB
Frequent Visitor

The columns are from these tables:

  • Åbn: All bookings
  • Afholdelsesdato: All bookings
  • Omsætning (meaning revenue): Invoices

Each booking has two invoices, and I have applied a filter to the table, which only shows data from one of the invoices. 

 

I have set the revenue column to Max, the reason being otherwise it will show a wrong value on some of the rows... But know that I think about it, I can see that the total row then shows the maximum value, which must be the intented behaviour. 

 

Which means that I will have to solve my overall problem in a different way that what I have done until now. Thank you!

@FrederikB 
Apologies for the late response. Please try new measure:

Sum of Max Omsætning =
SUMX (
    SUMMARIZE ( Invoices, 'All bookings'[Åbn], 'All bookings'[Afholdelsesdato] ),
    CALCULATE ( MAX ( Invoices[Omsætning] ) )
)

 

tamerj1
Super User
Super User

Hi @FrederikB 

1.png

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 Kudoed Authors