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
peterhui50
Helper III
Helper III

Modelling issue and totals

The Responses Table are respondents response to a sample survey, one individual can have multiple responses. Individuals have their IDs.

The  Table Join Table is a column of unique IDs

The  Table Hours are hours individuals worked by month

 

Here is a look at the model right now

Capture.PNG

 

I noticed when I want to slice hours worked by responses, the total never adds up! 

 

peterhui50_0-1620564611996.png

 

I basically want the totals add up.

2 ACCEPTED SOLUTIONS
negi007
Community Champion
Community Champion

@peterhui50  Yes, it will not add up. if you look at your hours table, total of hours column is 10.00 so total will not exceed 10. However, in your response table, sameID is being used against multiple responses so your sub-total at response lavel would have overlapping values so total of sub-total values will be different from the acutal total in the hours table. i hope you understand the logic. In an ideal scenario, each response should be assinged an unique ID so total hours are calculated correctely at the sub-total level of response.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

View solution in original post

peterhui50
Helper III
Helper III

Thank you, that makes sense.

 

View solution in original post

2 REPLIES 2
peterhui50
Helper III
Helper III

Thank you, that makes sense.

 

negi007
Community Champion
Community Champion

@peterhui50  Yes, it will not add up. if you look at your hours table, total of hours column is 10.00 so total will not exceed 10. However, in your response table, sameID is being used against multiple responses so your sub-total at response lavel would have overlapping values so total of sub-total values will be different from the acutal total in the hours table. i hope you understand the logic. In an ideal scenario, each response should be assinged an unique ID so total hours are calculated correctely at the sub-total level of response.




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

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.