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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.