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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Js112233
Helper I
Helper I

Sum of values that have been duplicated

Hello there! 

 

I have an odd problem that I can't seem to wrap my mind around. I have a table formatted like this:

 

IDEmployeeHoursCause MaterialsMaterial Hours
F544.070Employee 11Fire Truck 11
F544.070Employee 11Fire Truck 21
F544.070Employee 22Fire Truck 31
F544.070Employee 22Fire Truck 41
F544.070Employee 31Fire Truck 51
F544.070Employee 31Fire Truck 61
F544.070Employee 42Fire Truck 71
F544.070Employee 42Fire Truck 81
F544.070Employee 53Fire Truck 91
F544.070Employee 51Fire Truck 101
F544.070Employee 61Fire Truck 111
F544.070Employee 61Fire Truck 121

 

This report is used to track employees, hours spent on the job, what job they responded to, and the materials used on the job. Unfortunately there are ALWAYS more materials corresponding to a jon (ID) number so it formats like the about, i.e. creating more information.  It can be duplicates, triplicates, etc etc depending on how many materials are used on the job.

 

So when I want to sum the hours for the employee on a particular job it is not correct. Is there a way to get a distinct sum based off of the ID number?

15 REPLIES 15

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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