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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Sum total per categroy

I am trying to have the total Labor hours which is a measured column within the table public_work_order_logs per each class which is in its own table public_classes. 

 

But as you can see it is giving me the total sum for each class.  How can i fix this?

 

Below is my schema as well and i highlighted each column from the tables that i am usuing.

ghe7549_0-1608131739436.png

ghe7549_1-1608131860221.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I found the issue it had to do with the relationships between my tables

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I found the issue it had to do with the relationships between my tables

Greg_Deckler
Community Champion
Community Champion

@Anonymous Well, something is either a measure or a calculated column. Looks like your Labor Hours is a calculated column. If I am reading your data model correctly the issue seems to be that your Class column (Name in public classes table?) is not related to your public works order log table and thus your Labor Hours calculation. You will need relationships defined with the directions of those relationships such that the first table filters the other. Also, it is almost certain that if Labor Hours is a calculated column you will need this to be a measure instead. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.