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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
HenryJS
Post Prodigy
Post Prodigy

Matrix: Measure Totals Incorrect

Hi all,

 

I have a matrix with the Values including a measure (measure posted below).

 

The totals are not showing correctly? Both the subtotals of each row and the bottom grand total.

 

Is this because of the measure?

 

Timesheet? = maxx(FILTER('Export Placements','Export Placements'[PlacementStartDate]<=max('Date'[Date]) && (ISBLANK('Export Placements'[PlacementEndDate]) || 'Export Placements'[PlacementEndDate] <=max('Date'[Date]))),'Sheet1'[Timesheet Value])

 

Capture.JPG

 

 

Cheers 

 

Henry

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@HenryJS 

Try like

sumx(summarize(Table,Table[PlacementRec..],Table[CompanyHQ],table[Company Name], Table[Cadidate name],"_1",[Timesheet]),[_1])

 

Change group by as per need

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @HenryJS,

I'd like to suggest you can take a look at below blog that shares from @Greg_Deckler, it clearly mentioned the measure total calculation issue and how to fix it:

Measure Totals, The Final Word 

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@HenryJS 

Try like

sumx(summarize(Table,Table[PlacementRec..],Table[CompanyHQ],table[Company Name], Table[Cadidate name],"_1",[Timesheet]),[_1])

 

Change group by as per need

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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