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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.