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

View all the Fabric Data Days sessions on demand. View schedule

Reply
JEM
New Member

Row totals not showing in graphs

Hi, I have searched and read so many articles from this forum and others, but cannot get this to work and I've tried several different solutions to similar problems to no avail. I appreciate any help.

 

Problem: I need to show accrued hours against estimated hours for each department and also a rollup of the total estimated vs. total accrued. My thought was to show it as a bar/line combo, but it's always show the sum of the column not filtered by the project number. 

 

Data:

 

Estimated Hours  
Project IDDept 1 HoursDept 2 HoursDept 3 Hours
A123155137121
A124384176160
A12511011280
A126155137121

 

Accured Hours  
Project IDDept 1 HoursDept 2 HoursDept 3 Hours
A1236055125
A12425025150
A125909550
A126100130100

 

Things I've tried:

- In the query editor, added a column to sum the row, which shows the right total but the graphs still show the column total.

- Tried unpivoting the hours, which made 3 columns: Project, Department, Hours - same results

- Found several solutions that involved a custom measure that is based on HASONEFILTER, but I could not get this to work. All the examples included a date filter and I do not have a date that is needed in this scenario. Do I need a date?

 

Thank you!

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@JEM , unpivot the table and name hours column differently and you can merge

or analyze them with the common product and department dimensions

Share with Power BI Enthusiasts: 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
JEM
New Member

I had to change the relationship and then unpivot (gave me an error), but it worked after that. I changed the relationship type and now it seems to be pulling everything correctly. Thank you!

amitchandak
Super User
Super User

@JEM , unpivot the table and name hours column differently and you can merge

or analyze them with the common product and department dimensions

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors